From ff7b033fb40f5e0d409edbe868673473bbef2d89 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Mon, 2 Dec 2024 07:41:43 +0300 Subject: [PATCH] #132 skip on win --- src/test/java/com/yegor256/xsline/StSchemaTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/com/yegor256/xsline/StSchemaTest.java b/src/test/java/com/yegor256/xsline/StSchemaTest.java index 371e003..4a92593 100644 --- a/src/test/java/com/yegor256/xsline/StSchemaTest.java +++ b/src/test/java/com/yegor256/xsline/StSchemaTest.java @@ -31,6 +31,8 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; /** * Test case for {@link StSchema}. @@ -60,6 +62,7 @@ void shouldThrow() { } @Test + @DisabledOnOs(OS.WINDOWS) void validatesWithoutSchema() { final Path xsd = Paths.get("src/test/resources/com/yegor256/xsline/simple.xsd"); Assumptions.assumeTrue(xsd.toFile().exists());