bodewig commented on code in PR #217:
URL: https://github.com/apache/ant/pull/217#discussion_r2117819764


##########
src/tests/junit/org/apache/tools/ant/util/PermissionUtilsTest.java:
##########
@@ -92,6 +94,16 @@ public void detectsFileTypeOfDirectoryFromResource() throws 
IOException {
                      PermissionUtils.FileType.of(new 
FileResource(folder.newFolder("ant.tst"))));
     }
 
+    @Test
+    public void detectsFileTypeOfSymbolicLinkFromPath() throws IOException {
+        if (!System.getProperty("os.name").contains("Windows")) {

Review Comment:
   please use `org.apache.tools.ant.taskdefs.condition.Os#isFamily` instead as 
this is what we do in other platform dependent tests. `Os.isFamily("unix")` 
would likely be better (not that I believe anybody would run the tests on OS/2 
these days).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to