mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 03:44:19 +01:00
change the test to use the origin column (#1878)
This commit is contained in:
parent
f0fc9e1038
commit
bf212a5a3a
@ -22,16 +22,17 @@ fn takes_rows_of_nu_value_strings_and_pipes_it_to_stdin_of_external() {
|
|||||||
cwd: dirs.test(), pipeline(
|
cwd: dirs.test(), pipeline(
|
||||||
r#"
|
r#"
|
||||||
open nu_times.csv
|
open nu_times.csv
|
||||||
| get name
|
| get origin
|
||||||
| ^echo $it
|
| ^echo $it
|
||||||
| nu --testbin chop
|
| nu --testbin chop
|
||||||
| lines
|
| lines
|
||||||
| nth 3
|
| nth 2
|
||||||
| echo $it
|
| echo $it
|
||||||
"#
|
"#
|
||||||
));
|
));
|
||||||
|
|
||||||
assert_eq!(actual.out, "AndKitKat");
|
// chop will remove the last escaped double quote from \"Estados Unidos\"
|
||||||
|
assert_eq!(actual.out, "Ecuado");
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user