File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tck/src/main/java/jakarta/json/bind/tck/api/annotation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
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.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -72,7 +72,7 @@ public static WebArchive createTestArchive() {
72
72
@ Test
73
73
public void testJsonbDateFormat () {
74
74
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*}" ));
76
76
}
77
77
78
78
/*
You can’t perform that action at this time.
0 commit comments