mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:55:07 +02:00
fixed some more tests (#4607)
This commit is contained in:
@ -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
|
||||
"#
|
||||
)
|
||||
|
Reference in New Issue
Block a user