You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2021/08/05 20:26:46 UTC

[maven-scm] 01/01: [SCM-955] gitexe and svnexe provider TCK tests fail when path is absolute

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

michaelo pushed a commit to branch SCM-955
in repository https://gitbox.apache.org/repos/asf/maven-scm.git

commit 1b312a590314e7ce8d0fc4c3d865f63e3f673952
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Aug 5 22:26:38 2021 +0200

    [SCM-955] gitexe and svnexe provider TCK tests fail when path is absolute
---
 .../apache/maven/scm/tck/command/update/UpdateCommandTckTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/maven-scm-test/src/main/java/org/apache/maven/scm/tck/command/update/UpdateCommandTckTest.java b/maven-scm-test/src/main/java/org/apache/maven/scm/tck/command/update/UpdateCommandTckTest.java
index 88a1718..006a673 100644
--- a/maven-scm-test/src/main/java/org/apache/maven/scm/tck/command/update/UpdateCommandTckTest.java
+++ b/maven-scm-test/src/main/java/org/apache/maven/scm/tck/command/update/UpdateCommandTckTest.java
@@ -165,18 +165,18 @@ public abstract class UpdateCommandTckTest
 
         //Foo.java
         ScmFile file = files.next();
-        assertPath( "/src/main/java/org/Foo.java", file.getPath() );
+        assertPath( "src/main/java/org/Foo.java", file.getPath() );
         //TODO : Consolidate file status so that we can remove "|| ADDED" term
         assertTrue( file.getStatus().isUpdate() || file.getStatus() == ScmFileStatus.ADDED );
 
         //readme.txt
         file = files.next();
-        assertPath( "/readme.txt", file.getPath() );
+        assertPath( "readme.txt", file.getPath() );
         assertTrue( file.getStatus().isUpdate() );
 
         //project.xml
         file = files.next();
-        assertPath( "/project.xml", file.getPath() );
+        assertPath( "project.xml", file.getPath() );
         //TODO : Consolidate file status so that we can remove "|| ADDED" term
         assertTrue( file.getStatus().isUpdate() || file.getStatus() == ScmFileStatus.ADDED );
     }