You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2018/05/16 21:24:45 UTC
[GitHub] michael-o commented on a change in pull request #66: [SCM-868] fix
gitexe cannot deduce relative path
michael-o commented on a change in pull request #66: [SCM-868] fix gitexe cannot deduce relative path
URL: https://github.com/apache/maven-scm/pull/66#discussion_r188777542
##########
File path: maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/test/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumerTest.java
##########
@@ -187,23 +187,33 @@ public void testConsumerModifiedFile()
assertEquals("test file with spaces and a special \u007f character.xml", changedFiles.get( 0 ).getPath() );
}
+ public void testURI()
+ throws Exception
+ {
+ String path = "Not%Scheme:/sub dir";
+ URI u = GitStatusConsumer.uriFromPath( path );
+ assertEquals( path, u.getPath() );
+ }
+
// SCM-740
public void testConsumerModifiedFileInComplexDirectorySetup() throws IOException {
File dir = createTempDirectory();
- File subdir = new File( dir.getAbsolutePath() + "/subDirectory/" );
+ URI relativeCWD = URI.create( "" );
Review comment:
check indentation
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services