From af95c1c1ab219a81ad1f9fd699962755e2a3338a Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Tue, 26 Dec 2023 15:02:06 +0300 Subject: [PATCH] #174 no windows --- src/test/java/com/jcabi/log/FileDecorTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/com/jcabi/log/FileDecorTest.java b/src/test/java/com/jcabi/log/FileDecorTest.java index 83845070..eec49053 100644 --- a/src/test/java/com/jcabi/log/FileDecorTest.java +++ b/src/test/java/com/jcabi/log/FileDecorTest.java @@ -37,6 +37,8 @@ import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -56,6 +58,7 @@ void simplyWorks() { ); } + @DisabledOnOs(OS.WINDOWS) @ParameterizedTest @MethodSource("params") void testPrintsRight(final Object path, final String text, @@ -67,6 +70,7 @@ void testPrintsRight(final Object path, final String text, ); } + @DisabledOnOs(OS.WINDOWS) @ParameterizedTest @MethodSource("params") void testLogsRight(final Object path, final String text,