add in a table test with multiple columns (#886)

This commit is contained in:
Michael Angerman 2022-01-29 09:45:16 -08:00 committed by GitHub
parent dc6f1c496b
commit bffb4950c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(