a few more tests (#4488)

This commit is contained in:
Darren Schroeder
2022-02-15 19:48:32 -06:00
committed by GitHub
parent e763a8dcef
commit 7e6430def0
3 changed files with 13 additions and 36 deletions

View File

@ -1,21 +1,15 @@
use nu_test_support::{nu, pipeline};
// FIXME: jt: needs more work
#[ignore]
#[test]
fn columns() {
let actual = nu!(
cwd: ".", pipeline(r#"
echo [
[arepas, color];
[3, white]
[8, yellow]
[4, white]
]
| drop column
| get
| length
] | drop column | columns | length
"#)
);
@ -30,14 +24,10 @@ fn more_columns_than_table_has() {
cwd: ".", pipeline(r#"
echo [
[arepas, color];
[3, white]
[8, yellow]
[4, white]
]
| drop column 3
| get
| empty?
] | drop column 3 | columns | empty?
"#)
);