diff options
Diffstat (limited to 'src/test/scala/xyz/driver/core')
-rw-r--r-- | src/test/scala/xyz/driver/core/TimeTest.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/core/TimeTest.scala b/src/test/scala/xyz/driver/core/TimeTest.scala index b72fde8..75588a2 100644 --- a/src/test/scala/xyz/driver/core/TimeTest.scala +++ b/src/test/scala/xyz/driver/core/TimeTest.scala @@ -74,7 +74,9 @@ class TimeTest extends FlatSpec with Matchers with Checkers { } it should "have correct textual representations" in { - + import java.util.Locale + import java.util.Locale._ + Locale.setDefault(ENGLISH) textualDate(TimeZone.getTimeZone("EDT"))(Time(1468937089834L)) should be("July 19, 2016") textualTime(TimeZone.getTimeZone("PDT"))(Time(1468937089834L)) should be("Jul 19, 2016 02:04:49 PM") } |