From fb86e76c4b505971c5a66d7c8a3f7acc0217d279 Mon Sep 17 00:00:00 2001 From: Dai MIKURUBE Date: Tue, 28 Mar 2023 19:08:08 +0900 Subject: [PATCH] Disable tests for Time.strftime("%-:::z") with offset = 0 This case started to be incompatible from Ruby 3.1. * https://github.com/embulk/embulk-util-rubytime/issues/65 * https://github.com/ruby/date/issues/93 --- .../java/org/embulk/util/rubytime/TestFormatterCRuby.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crubyTest/java/org/embulk/util/rubytime/TestFormatterCRuby.java b/src/crubyTest/java/org/embulk/util/rubytime/TestFormatterCRuby.java index b643c24..13a5599 100644 --- a/src/crubyTest/java/org/embulk/util/rubytime/TestFormatterCRuby.java +++ b/src/crubyTest/java/org/embulk/util/rubytime/TestFormatterCRuby.java @@ -531,14 +531,14 @@ private static Stream provideInstantArgs() { "2020-01-01T23:34:56+00:00", "%:::z", "2020-01-01T23:34:56+00:00", "%0:::z", "2020-01-01T23:34:56+00:00", "%_:::z", - "2020-01-01T23:34:56+00:00", "%-:::z", + // https://github.com/embulk/embulk-util-rubytime/issues/65 : "2020-01-01T23:34:56+00:00", "%-:::z", "2020-01-01T23:34:56+00:00", "%_15:::z", "2020-01-01T23:34:56+00:00", "%015:::z", "2020-01-01T23:34:56-00:00", "%:::z", "2020-01-01T23:34:56-00:00", "%0:::z", "2020-01-01T23:34:56-00:00", "%_:::z", - "2020-01-01T23:34:56-00:00", "%-:::z", + // https://github.com/embulk/embulk-util-rubytime/issues/65 : "2020-01-01T23:34:56-00:00", "%-:::z", "2020-01-01T23:34:56-00:00", "%_15:::z", "2020-01-01T23:34:56-00:00", "%015:::z",