Remove interpretation of Primitive::Nothing as the number 0. (#1836)

This commit is contained in:
Jason Gedge
2020-05-18 15:18:46 -04:00
committed by GitHub
parent 0743b69ad5
commit 6efabef8d3
8 changed files with 6 additions and 18 deletions

View File

@ -25,6 +25,7 @@ fn takes_rows_of_nu_value_strings_and_pipes_it_to_stdin_of_external() {
| get name
| ^echo $it
| nu --testbin chop
| lines
| nth 3
| echo $it
"#
@ -89,8 +90,7 @@ fn invocation_handles_dot() {
r#"
echo $(open nu_times.csv)
| get name
| ^echo $it
| nu --testbin chop
| nu --testbin chop $it
| nth 3
| echo $it
"#