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/*']) ] } - }