Lines no longer treats a text buffer as a line (#3153)

This commit is contained in:
Jonathan Turner
2021-03-11 11:35:15 +13:00
committed by GitHub
parent ee5bd2b4b3
commit 0d305d7c3e
5 changed files with 84 additions and 46 deletions

View File

@ -121,6 +121,17 @@ mod it_evaluation {
})
}
#[test]
fn can_properly_buffer_lines_externally() {
let actual = nu!(
cwd: ".",
r#"
nu --testbin repeater c 8197 | lines | count
"#
);
assert_eq!(actual.out, "1");
}
#[test]
fn supports_fetching_given_a_column_path_to_it() {
Playground::setup("it_argument_test_3", |dirs, sandbox| {