mirror of
https://github.com/nushell/nushell.git
synced 2025-04-09 21:28:55 +02: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]
|
#[test]
|
||||||
fn command_drop_column_1() -> TestResult {
|
fn command_drop_column_1() -> TestResult {
|
||||||
run_test(
|
run_test(
|
||||||
|
Loading…
Reference in New Issue
Block a user