diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-20 15:28:18 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-20 15:28:39 +0200 |
commit | d472cb651c1e61ae9e0ceca2a7f123b3c55ff2e0 (patch) | |
tree | 819d4434d603cae03a57881d22d74790e44b7d0f /dev-java/jackcess/files | |
parent | dev-java/jackcess: bump to 4.0.0 (diff) | |
download | gentoo-d472cb651c1e61ae9e0ceca2a7f123b3c55ff2e0.tar.gz gentoo-d472cb651c1e61ae9e0ceca2a7f123b3c55ff2e0.tar.bz2 gentoo-d472cb651c1e61ae9e0ceca2a7f123b3c55ff2e0.zip |
dev-java/jackcess: fixed tests in 4.0.0 + re-added arches
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jackcess/files')
-rw-r--r-- | dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch b/dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch new file mode 100644 index 000000000000..221710f4fbe5 --- /dev/null +++ b/dev-java/jackcess/files/jackcess-4.0.0-fix-tests.patch @@ -0,0 +1,13 @@ +diff --git a/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java b/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java +index d127f9f..03885f2 100644 +--- a/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java ++++ b/src/test/java/com/healthmarketscience/jackcess/DatabaseTest.java +@@ -687,7 +687,7 @@ public class DatabaseTest extends TestCase + + public void testAncientDates() throws Exception + { +- TimeZone tz = TimeZone.getTimeZone("America/New_York"); ++ TimeZone tz = TimeZone.getTimeZone("UTC"); + SimpleDateFormat sdf = DatabaseBuilder.createDateFormat("yyyy-MM-dd"); + sdf.getCalendar().setTimeZone(tz); + |