basinilya 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_r188872607
 
 

 ##########
 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:
   checked.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to