c: suppress failing test

This commit is contained in:
Alexey Andreev 2023-11-08 10:04:15 +01:00
parent f6e38e94f7
commit 5b3c462ab8

View File

@ -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);