mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 17:08:34 +02:00
Add subcommands. Switch from-* and to-* to them (#1708)
This commit is contained in:
@@ -5,7 +5,7 @@ fn each_works_separately() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
echo [1 2 3] | each { echo $it 10 | sum } | to-json | echo $it
|
||||
echo [1 2 3] | each { echo $it 10 | sum } | to json | echo $it
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user