Skip to content

Commit

Permalink
add in a table test with multiple columns (nushell#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
stormasm committed Jan 29, 2022
1 parent dc6f1c4 commit bffb495
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/tests/test_table_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bffb495

Please sign in to comment.