Skip to content

Commit 10e51e9

Browse files
committed
Drop special handling of EST in test for Java 23.
1 parent 99eb851 commit 10e51e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xstream/src/test/com/thoughtworks/xstream/converters/extended/ISO8601DateConverterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (C) 2004, 2005 Joe Walnes.
3-
* Copyright (C) 2006, 2007, 2018, 2024 XStream Committers.
3+
* Copyright (C) 2006, 2007, 2018, 2024, 2025 XStream Committers.
44
* All rights reserved.
55
*
66
* The software in this package is published under the terms of the BSD
@@ -65,7 +65,7 @@ public void testUnmarshallsISOFormatInUTC() throws ParseException {
6565
final Date out = (Date)converter.fromString(isoFormat);
6666
final Date control = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(simpleFormat);
6767
// verify for EST
68-
assertEquals("Sun Feb 14 13:10:30 " + (JVM.isVersion(23) ? "GMT-05:00" : "EST") + " 1993", out.toString());
68+
assertEquals("Sun Feb 14 13:10:30 EST 1993", out.toString());
6969
assertEquals(control, out);
7070
}
7171

0 commit comments

Comments
 (0)