mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
add in a table test with multiple columns (#886)
This commit is contained in:
parent
dc6f1c496b
commit
bffb4950c2
@ -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 New Issue
Block a user