fixed some more tests (#4607)

This commit is contained in:
Darren Schroeder
2022-02-22 10:32:29 -06:00
committed by GitHub
parent 25712760ba
commit f507613b38
11 changed files with 18 additions and 60 deletions

View File

@ -54,7 +54,7 @@ fn reduce_numbered_example() {
cwd: ".", pipeline(
r#"
echo one longest three bar
reduce -n { |it, acc| if ($it | str length) > ($acc | str length) {echo $it} else {echo $acc}}
| reduce -n { |it, acc| if ($it.item | str length) > ($acc | str length) {echo $it.item} else {echo $acc}}
| get index
"#
)