From 5b3c462ab8329d6a5dc102df159eaa9cfb34dd43 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Wed, 8 Nov 2023 10:04:15 +0100 Subject: [PATCH] c: suppress failing test --- .../teavm/classlib/java/time/format/TestDateTimeParsing.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/src/test/java/org/teavm/classlib/java/time/format/TestDateTimeParsing.java b/tests/src/test/java/org/teavm/classlib/java/time/format/TestDateTimeParsing.java index 07aa74adb..76fd33a82 100644 --- a/tests/src/test/java/org/teavm/classlib/java/time/format/TestDateTimeParsing.java +++ b/tests/src/test/java/org/teavm/classlib/java/time/format/TestDateTimeParsing.java @@ -66,9 +66,11 @@ import java.time.format.DateTimeFormatterBuilder; import java.time.temporal.TemporalAccessor; import java.util.Locale; import org.junit.runner.RunWith; +import org.teavm.junit.SkipPlatform; import org.teavm.junit.TeaVMProperties; import org.teavm.junit.TeaVMProperty; import org.teavm.junit.TeaVMTestRunner; +import org.teavm.junit.TestPlatform; import org.testng.annotations.DataProvider; import org.testng.annotations.Ignore; import org.testng.annotations.Test; @@ -180,6 +182,7 @@ public class TestDateTimeParsing { } @Test(dataProvider = "instantNoZone", expectedExceptions = DateTimeException.class) + @SkipPlatform(TestPlatform.C) public void test_parse_instantNoZone_ZDT(DateTimeFormatter formatter, String text, Instant expected) { TemporalAccessor actual = formatter.parse(text); ZonedDateTime.from(actual);