From bffb4950c23f5b9524d7377358357211c49e7c7e Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Sat, 29 Jan 2022 09:45:16 -0800 Subject: [PATCH] add in a table test with multiple columns (#886) --- src/tests/test_table_operations.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/tests/test_table_operations.rs b/src/tests/test_table_operations.rs index 7ae4494d01..82fffc0a7b 100644 --- a/src/tests/test_table_operations.rs +++ b/src/tests/test_table_operations.rs @@ -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(