From dd2d6014717dad81e7c04c00cc76746675be5762 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 4 Feb 2022 11:34:01 -0600 Subject: [PATCH] fix lines tests (#930) --- crates/nu-command/tests/commands/lines.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/nu-command/tests/commands/lines.rs b/crates/nu-command/tests/commands/lines.rs index e9fbca386..fcdb545c8 100644 --- a/crates/nu-command/tests/commands/lines.rs +++ b/crates/nu-command/tests/commands/lines.rs @@ -19,8 +19,6 @@ fn lines() { assert_eq!(actual.out, "rustyline"); } -// FIXME: jt: needs more work -#[ignore] #[test] fn lines_proper_buffering() { let actual = nu!( @@ -29,15 +27,13 @@ fn lines_proper_buffering() { open lines_test.txt -r | lines | str length - | to json + | to json -r "# )); assert_eq!(actual.out, "[8193,3]"); } -// FIXME: jt: needs more work -#[ignore] #[test] fn lines_multi_value_split() { let actual = nu!( @@ -50,5 +46,5 @@ fn lines_multi_value_split() { "# )); - assert_eq!(actual.out, "5"); + assert_eq!(actual.out, "6"); }