Skip to content

Commit

Permalink
fix: when disable threshold, set value <= 0
Browse files Browse the repository at this point in the history
- CalcMatchStatisticsTest checks with disabling threshold, so set it -1

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Dec 18, 2024
1 parent bf0938f commit 7ac17f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void testCalcMatchStatics() throws Exception {
Assert.assertEquals("5699", result[7][4]);

// change threshold
calcMatchStatistics = new CalcMatchStatisticsMock(project, segmenter, callback, 70);
calcMatchStatistics = new CalcMatchStatisticsMock(project, segmenter, callback, -1);
calcMatchStatistics.start();
try {
calcMatchStatistics.join();
Expand Down

0 comments on commit 7ac17f4

Please sign in to comment.