Skip to content

Commit

Permalink
tests: update tests now that --stats-mode default is now none, …
Browse files Browse the repository at this point in the history
…not `auto`

[skip ci]
  • Loading branch information
jqnatividad committed Aug 9, 2024
1 parent d1dd8fa commit c60b99d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_frequency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,9 @@ fn frequency_all_unique_with_stats_cache() {
wrk.assert_success(&mut stats_cmd);

let mut cmd = wrk.command("frequency");
cmd.args(["--select", "1"]).arg(testdata);
cmd.args(["--select", "1"])
.args(["--stats-mode", "auto"])
.arg(testdata);

let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd);
let expected = vec![
Expand All @@ -514,6 +516,7 @@ fn frequency_all_unique_with_stats_cache_alt_all_unique_text() {
cmd.args(["--select", "1"])
// "<ALL_UNIQUE>" in German
.args(["--all-unique-text", "<ALLE EINZIGARTIG>"])
.args(["--stats-mode", "auto"])
.arg(testdata);

let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd);
Expand Down

0 comments on commit c60b99d

Please sign in to comment.