Require block params (#4505)

* Require block params

* Improve errors
This commit is contained in:
JT
2022-02-17 06:40:24 -05:00
committed by GitHub
parent f169a9be3b
commit 6e733f49bc
27 changed files with 149 additions and 102 deletions

View File

@ -111,7 +111,7 @@ mod it_evaluation {
ls
| sort-by name
| get name
| each { nu --testbin cococo $it }
| each { |it| nu --testbin cococo $it }
| get 1
"#
));
@ -136,7 +136,7 @@ mod it_evaluation {
r#"
open nu_candies.txt
| lines
| each { nu --testbin chop $it}
| each { |it| nu --testbin chop $it}
| get 1
"#
));