forked from extern/nushell
Use 'table' on scripts and -c commands (#4377)
* Use 'table' on scripts and -c commands * Fix tests * Oops, missed a spot
This commit is contained in:
@ -62,7 +62,7 @@ fn from_json_text_recognizing_objects_independently_to_table() {
|
||||
open katz.txt
|
||||
| from json -o
|
||||
| where name == "GorbyPuff"
|
||||
| get rusty_luck
|
||||
| get rusty_luck.0
|
||||
"#
|
||||
));
|
||||
|
||||
@ -90,7 +90,7 @@ fn table_to_json_text() {
|
||||
| select name
|
||||
| to json
|
||||
| from json
|
||||
| nth 0
|
||||
| get 0
|
||||
| get name
|
||||
"#
|
||||
));
|
||||
|
Reference in New Issue
Block a user