From d55eb6d02e21bf3c735456dd095501cd6edbb550 Mon Sep 17 00:00:00 2001 From: Jeroen van Erp Date: Wed, 24 Jan 2018 21:34:29 +0100 Subject: [PATCH] Fix build for windows --- src/test/groovy/net/schmizz/sshj/xfer/FileSystemFileSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } }