Fix test case failure in non-English environment

This commit is contained in:
ZhangJun 2021-04-15 13:54:59 +08:00
parent 327f0490e2
commit 76503b5f8f

View file

@ -10,9 +10,10 @@ import org.junit.Test;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.List; import java.util.List;
import java.util.Locale;
public class CryptoSeedTest { public class CryptoSeedTest {
private final DateFormat dateFormat = new SimpleDateFormat("dd MMM yyyy"); private final DateFormat dateFormat = new SimpleDateFormat("dd MMM yyyy", Locale.ENGLISH);
@Test @Test
public void testSeed() throws CborException { public void testSeed() throws CborException {