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:39:38 UTC
[maven-scm] branch master updated: [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 master
in repository https://gitbox.apache.org/repos/asf/maven-scm.git
The following commit(s) were added to refs/heads/master by this push:
new a434fe6 [SCM-955] gitexe and svnexe provider TCK tests fail when path is absolute
a434fe6 is described below
commit a434fe6fffe110dc78e4c84f6c0d41e72a932e33
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
This closes #121
---
.../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 );
}