diff --git a/src/test/java/com/yegor256/xsline/StSchemaTest.java b/src/test/java/com/yegor256/xsline/StSchemaTest.java index e3213a1..44fcaaf 100644 --- a/src/test/java/com/yegor256/xsline/StSchemaTest.java +++ b/src/test/java/com/yegor256/xsline/StSchemaTest.java @@ -31,9 +31,6 @@ 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.EnabledOnOs; -import org.junit.jupiter.api.condition.OS; /** * Test case for {@link StSchema}. @@ -63,31 +60,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()); - MatcherAssert.assertThat( - new Xsline(new StSchema()).pass( - new XMLDocument( - String.join( - "", - "", - xsd.toFile().getAbsoluteFile() - ), - "42" - ) - ) - ), - XhtmlMatchers.hasXPaths("/foo") - ); - } - - @Test - @EnabledOnOs(OS.WINDOWS) - void validatesWithoutSchemaOnWindows() { final Path xsd = Paths.get("src/test/resources/com/yegor256/xsline/simple.xsd"); Assumptions.assumeTrue(xsd.toFile().exists()); MatcherAssert.assertThat(