Skip to content

Commit 7671c8b

Browse files
ensure that the test runs independent of the system locale settings
1 parent df85bd8 commit 7671c8b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sqldev/src/test/java/org/utplsql/sqldev/test/runner/SmartTimeTest.java

+8
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@
1515
*/
1616
package org.utplsql.sqldev.test.runner;
1717

18+
import java.util.Locale;
19+
1820
import org.junit.Assert;
21+
import org.junit.Before;
1922
import org.junit.Test;
2023
import org.utplsql.sqldev.ui.runner.SmartTime;
2124

2225
public class SmartTimeTest {
26+
27+
@Before
28+
public void setup() {
29+
Locale.setDefault(new Locale("en", "US"));
30+
}
2331

2432
@Test
2533
public void null_default() {

0 commit comments

Comments
 (0)