Skip to content
/ jflex Public
forked from jflex-de/jflex

Commit

Permalink
Initialize TestCase with Locale.US
Browse files Browse the repository at this point in the history
  • Loading branch information
regisd committed Dec 17, 2020
1 parent 5544d56 commit cc1cfd4
Showing 1 changed file with 2 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,7 @@ public boolean accept(File f, String name) {
*/
public static boolean runTests(List<File> tests, File jflexUberJar)
throws TestFailException, MojoExecutionException, MojoFailureException {
Locale.setDefault(Locale.US);
int successCount = 0;
int totalCount = 0;

Expand Down

0 comments on commit cc1cfd4

Please sign in to comment.