Merge pull request #2 from zhangjun725/master

Fix test case failure in non-English environment
This commit is contained in:
craigraw 2021-04-15 09:14:11 +02:00 committed by GitHub
commit 7527a37e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {