fix lines tests (#930)

This commit is contained in:
Darren Schroeder 2022-02-04 11:34:01 -06:00 committed by GitHub
parent c6dad0d5eb
commit dd2d601471
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,6 @@ fn lines() {
assert_eq!(actual.out, "rustyline"); assert_eq!(actual.out, "rustyline");
} }
// FIXME: jt: needs more work
#[ignore]
#[test] #[test]
fn lines_proper_buffering() { fn lines_proper_buffering() {
let actual = nu!( let actual = nu!(
@ -29,15 +27,13 @@ fn lines_proper_buffering() {
open lines_test.txt -r open lines_test.txt -r
| lines | lines
| str length | str length
| to json | to json -r
"# "#
)); ));
assert_eq!(actual.out, "[8193,3]"); assert_eq!(actual.out, "[8193,3]");
} }
// FIXME: jt: needs more work
#[ignore]
#[test] #[test]
fn lines_multi_value_split() { fn lines_multi_value_split() {
let actual = nu!( let actual = nu!(
@ -50,5 +46,5 @@ fn lines_multi_value_split() {
"# "#
)); ));
assert_eq!(actual.out, "5"); assert_eq!(actual.out, "6");
} }