You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2019/09/10 17:31:12 UTC

[jspwiki] branch master updated: omit OS-specific test on Windows - should run on other OSs

This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 540f74f  omit OS-specific test on Windows - should run on other OSs
540f74f is described below

commit 540f74fce89022934897982848a90a7373975985
Author: juanpablo <ju...@apache.org>
AuthorDate: Tue Sep 10 19:30:54 2019 +0200

    omit OS-specific test on Windows - should run on other OSs
---
 jspwiki-util/src/test/java/org/apache/wiki/util/FileUtilTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jspwiki-util/src/test/java/org/apache/wiki/util/FileUtilTest.java b/jspwiki-util/src/test/java/org/apache/wiki/util/FileUtilTest.java
index 785bf01..e770e59 100644
--- a/jspwiki-util/src/test/java/org/apache/wiki/util/FileUtilTest.java
+++ b/jspwiki-util/src/test/java/org/apache/wiki/util/FileUtilTest.java
@@ -21,7 +21,7 @@ package org.apache.wiki.util;
 
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.EnabledOnOs;
+import org.junit.jupiter.api.condition.DisabledOnOs;
 import org.junit.jupiter.api.condition.OS;
 
 import java.io.ByteArrayInputStream;
@@ -80,7 +80,7 @@ public class FileUtilTest
      * ISO Latin 1 from a pipe.
      */
     @Test
-    @EnabledOnOs( OS.LINUX )
+    @DisabledOnOs( OS.WINDOWS )
     public void testReadContentsFromPipeOnLinux() throws Exception {
         String src = "abc\n123456\n\nfoobar.\n";