forked from extern/nushell
Simplify expressions (#3389)
* WIP: experiment with simpler expressions * fix simple invoke * update tests * fix a few tests * Make paren parsing more robust * fix external args * Remove old invocation * Update tests * Update tests
This commit is contained in:
@ -17,7 +17,7 @@ fn each_group_works() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
echo [1 2 3 4 5 6] | each group 3 { echo $it } | to json
|
||||
echo [1 2 3 4 5 6] | each group 3 { $it } | to json
|
||||
"#
|
||||
));
|
||||
|
||||
@ -29,7 +29,7 @@ fn each_window() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
echo [1 2 3 4] | each window 3 { echo $it } | to json
|
||||
echo [1 2 3 4] | each window 3 { $it } | to json
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user