From bf212a5a3a486144d4335cb2788c5f6ff5cf48de Mon Sep 17 00:00:00 2001 From: Ryan Blecher Date: Mon, 25 May 2020 18:50:54 -0400 Subject: [PATCH] change the test to use the origin column (#1878) --- tests/shell/pipeline/commands/internal.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/shell/pipeline/commands/internal.rs b/tests/shell/pipeline/commands/internal.rs index 01d576823d..c8a76a0d4a 100644 --- a/tests/shell/pipeline/commands/internal.rs +++ b/tests/shell/pipeline/commands/internal.rs @@ -22,16 +22,17 @@ fn takes_rows_of_nu_value_strings_and_pipes_it_to_stdin_of_external() { cwd: dirs.test(), pipeline( r#" open nu_times.csv - | get name + | get origin | ^echo $it | nu --testbin chop | lines - | nth 3 + | nth 2 | echo $it "# )); - assert_eq!(actual.out, "AndKitKat"); + // chop will remove the last escaped double quote from \"Estados Unidos\" + assert_eq!(actual.out, "Ecuado"); }) }