Skip to content

Commit

Permalink
#174 no windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 26, 2023
1 parent a84c76a commit af95c1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/com/jcabi/log/FileDecorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -56,6 +58,7 @@ void simplyWorks() {
);
}

@DisabledOnOs(OS.WINDOWS)
@ParameterizedTest
@MethodSource("params")
void testPrintsRight(final Object path, final String text,
Expand All @@ -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,
Expand Down

0 comments on commit af95c1c

Please sign in to comment.