Skip to content

Commit

Permalink
tests: once more for extsort test
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Jan 6, 2025
1 parent 31c7687 commit c6fb774
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_extsort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,15 @@ fn extsort_issue_2391() {

let mut cmd = wrk.command("extsort");
cmd.arg("issue2391-test_ids.csv")
.args(["--select", "tc_id,pnm"]);
.args(["--select", "tc_id,pnm,pc_id"]);

wrk.assert_success(&mut cmd);
let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd);
let expected = vec![
svec!["pnm", "tc_id", "pc_id"],
svec!["405", "139280", "9730000630075"],
svec!["405", "139280", "9730000630075"],
svec!["138", "139282871", "9730065908379"],
svec!["405", "139281", "9730000630075"],
svec!["252", "139282", "9730000630075"],
svec!["131", "139282862", "9730065908379"],
svec!["138", "139282863", "9730065908379"],
svec!["138", "139282864", "9730065908379"],
Expand All @@ -112,9 +111,10 @@ fn extsort_issue_2391() {
svec!["138", "139282868", "9730065908379"],
svec!["138", "139282869", "9730065908379"],
svec!["138", "139282870", "9730065908379"],
svec!["252", "139282", "9730000630075"],
svec!["138", "139282871", "9730065908379"],
svec!["241", "139283", "9730000630075"],
svec!["272", "139284", "9730000630075"],
svec!["273", "139285", "9730000630075"],
];
assert_eq!(got, expected);
}

0 comments on commit c6fb774

Please sign in to comment.