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 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 /*
You can’t perform that action at this time.
0 commit comments