Skip to content

Commit 0650b22

Browse files
committed
Include change from jakartaee-tck PR 151
1 parent 732beb0 commit 0650b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tck/src/main/java/jakarta/json/bind/tck/api/annotation/AnnotationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -72,7 +72,7 @@ public static WebArchive createTestArchive() {
7272
@Test
7373
public void testJsonbDateFormat() {
7474
String jsonString = jsonb.toJson(new SimpleAnnotatedDateContainer());
75-
assertThat(jsonString, RegexMatcher.matches("\\{\\s*\"instance\"\\s*:\\s*\"Do, 01 Jan 1970\"\\s*}"));
75+
assertThat(jsonString, RegexMatcher.matches("\\{\\s*\"instance\"\\s*:\\s*\"Do(\\.?), 01 Jan(\\.?) 1970\"\\s*}"));
7676
}
7777

7878
/*

0 commit comments

Comments
 (0)