mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
add in a table test with multiple columns (#886)
This commit is contained in:
parent
dc6f1c496b
commit
bffb4950c2
1 changed files with 9 additions and 0 deletions
|
@ -103,6 +103,15 @@ fn command_filter_reject_3() -> TestResult {
|
|||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[rustfmt::skip]
|
||||
fn command_filter_reject_4() -> TestResult {
|
||||
run_test(
|
||||
"[[lang, gems, grade]; [nu, 100, a]] | reject gems | to json -r",
|
||||
r#"[{"lang": "nu","grade": "a"}]"#,
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn command_drop_column_1() -> TestResult {
|
||||
run_test(
|
||||
|
|
Loading…
Reference in a new issue