mirror of
https://github.com/nushell/nushell
synced 2025-01-14 22:24:54 +00:00
fix lines tests (#930)
This commit is contained in:
parent
c6dad0d5eb
commit
dd2d601471
1 changed files with 2 additions and 6 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue