Skip to content

Commit

Permalink
[SCM-955] gitexe and svnexe provider TCK tests fail when path is abso…
Browse files Browse the repository at this point in the history
…lute

This closes #121
  • Loading branch information
michael-o committed Aug 5, 2021
1 parent 3a10d0f commit a434fe6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,18 @@ public void testUpdateCommand()

//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 );
}
Expand Down

0 comments on commit a434fe6

Please sign in to comment.