From 76503b5f8f4dd3d22c8a9db253afc767d5fb3c85 Mon Sep 17 00:00:00 2001 From: ZhangJun Date: Thu, 15 Apr 2021 13:54:59 +0800 Subject: [PATCH] Fix test case failure in non-English environment --- .../com/sparrowwallet/hummingbird/registry/CryptoSeedTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoSeedTest.java b/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoSeedTest.java index 04e1906..8d15f76 100644 --- a/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoSeedTest.java +++ b/src/test/java/com/sparrowwallet/hummingbird/registry/CryptoSeedTest.java @@ -10,9 +10,10 @@ import org.junit.Test; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; +import java.util.Locale; public class CryptoSeedTest { - private final DateFormat dateFormat = new SimpleDateFormat("dd MMM yyyy"); + private final DateFormat dateFormat = new SimpleDateFormat("dd MMM yyyy", Locale.ENGLISH); @Test public void testSeed() throws CborException {