Skip to content

Commit

Permalink
Initialize TestCase with Locale.US
Browse files Browse the repository at this point in the history
Fix #764
  • Loading branch information
regisd committed May 12, 2020
1 parent f22f2bc commit f0f8b7d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.io.FilenameFilter;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

Expand Down Expand Up @@ -70,6 +71,8 @@ public boolean accept(File f, String name) {
*/
static boolean runTests(List<File> tests, List<File> classPath)
throws MojoExecutionException, MojoFailureException {
Locale.setDefault(Locale.US);

int successCount = 0;
int totalCount = 0;

Expand Down

0 comments on commit f0f8b7d

Please sign in to comment.