Skip to content

Commit

Permalink
tests: update joinp test with both --ignore-case and `--ignore-le…
Browse files Browse the repository at this point in the history
…ading-zeros`

as it no longer adds redundant non-coalesced columns
  • Loading branch information
jqnatividad committed Jan 7, 2025
1 parent c511271 commit 0432675
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_joinp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1966,10 +1966,10 @@ fn joinp_ignore_case_and_leading_zeros() {

let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd);
let expected = vec![
svec!["id", "code", "value", "id_right", "code_right", "desc"],
svec!["1", "1abc", "a", "1", "1abc", "one"],
svec!["2", "2def", "b", "2", "2def", "two"],
svec!["3", "xyz", "c", "3", "xyz", "three"],
svec!["id", "code", "value", "desc"],
svec!["1", "1abc", "a", "one"],
svec!["2", "2def", "b", "two"],
svec!["3", "xyz", "c", "three"],
];
assert_eq!(got, expected);
}
Expand Down

0 comments on commit 0432675

Please sign in to comment.