Fix build for windows

This commit is contained in:
Jeroen van Erp
2018-01-24 21:34:29 +01:00
parent dabe43dfdc
commit d55eb6d02e

View File

@@ -49,6 +49,6 @@ class FileSystemFileSpec extends Specification {
def child = file.getChild("bar//etc/passwd")
then:
child.getFile().getPath() endsWith "foo/bar/etc/passwd"
child.getFile().getPath().replace('\\', '/') endsWith "foo/bar/etc/passwd"
}
}