You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2018/12/07 00:25:31 UTC

[maven-surefire] 02/04: fixed test LongWindowsPathIT on Windows - canonical TEMP

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

tibordigana pushed a commit to branch windows
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 5f87e5c88f844a7c3267938271998ac27de5a5c3
Author: Tibor17 <ti...@apache.org>
AuthorDate: Thu Dec 6 23:51:12 2018 +0100

    fixed test LongWindowsPathIT on Windows - canonical TEMP
---
 .../src/test/java/org/apache/maven/surefire/its/LongWindowsPathIT.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/LongWindowsPathIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/LongWindowsPathIT.java
index 6280835..551c18b 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/LongWindowsPathIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/LongWindowsPathIT.java
@@ -76,7 +76,7 @@ public class LongWindowsPathIT
             else if ( line.contains( "SUREFIRE-1400 surefire.real.class.path=" ) )
             {
                 assertThat( line )
-                        .contains( System.getProperty( "java.io.tmpdir" ) );
+                        .contains( new File( System.getProperty( "java.io.tmpdir" ) ).getCanonicalPath() );
             }
         }
     }