diff --git a/src/test/groovy/net/schmizz/sshj/xfer/FileSystemFileSpec.groovy b/src/test/groovy/net/schmizz/sshj/xfer/FileSystemFileSpec.groovy index c9708a26..26ee25e9 100644 --- a/src/test/groovy/net/schmizz/sshj/xfer/FileSystemFileSpec.groovy +++ b/src/test/groovy/net/schmizz/sshj/xfer/FileSystemFileSpec.groovy @@ -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" } }