From 7822dd61a9c578d9a10062909bd02b758e4086d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Schalk=20W=2E=20Cronj=C3=A9?= Date: Thu, 14 Jul 2016 19:13:29 +0100 Subject: [PATCH] Made an adjustment to cope with Windows output --- src/test/groovy/org/ysb33r/gradle/gnumake/RunMakeSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/org/ysb33r/gradle/gnumake/RunMakeSpec.groovy b/src/test/groovy/org/ysb33r/gradle/gnumake/RunMakeSpec.groovy index 5e51b0d..241cae3 100644 --- a/src/test/groovy/org/ysb33r/gradle/gnumake/RunMakeSpec.groovy +++ b/src/test/groovy/org/ysb33r/gradle/gnumake/RunMakeSpec.groovy @@ -56,7 +56,7 @@ class RunMakeSpec extends Specification { String output = systemOut.toString() expect: - output.contains('fake-make build install DESTDIR=foo/bar') || output.contains('fake-make.bat build install DESTDIR=foo/bar') + output =~ /.*fake-make(\.bat)?\s+build\s+install\s+DESTDIR=foo\/bar.*/ output.contains('INCAPATH=PERU') } } \ No newline at end of file