From b49be1d2d4dbdfe392615ff8bd2e7fbd3b9c60a1 Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Tue, 11 Nov 2014 19:04:16 -0600 Subject: [PATCH] Fix for remote list spec URI paths on Windows. --- .../org/ajoberstar/grgit/operation/RemoteListOpSpec.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/groovy/org/ajoberstar/grgit/operation/RemoteListOpSpec.groovy b/src/test/groovy/org/ajoberstar/grgit/operation/RemoteListOpSpec.groovy index ca207329..05a3f4d5 100644 --- a/src/test/groovy/org/ajoberstar/grgit/operation/RemoteListOpSpec.groovy +++ b/src/test/groovy/org/ajoberstar/grgit/operation/RemoteListOpSpec.groovy @@ -33,9 +33,8 @@ class RemoteListOpSpec extends MultiGitOpSpec { localGrgit.remote.list() == [ new Remote( name: 'origin', - url: "file://$remoteGrgit.repository.rootDir.canonicalPath/", + url: remoteGrgit.repository.rootDir.canonicalFile.toPath().toUri(), fetchRefSpecs: ['+refs/heads/*:refs/remotes/origin/*']) ] } - }