Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit b324a9e

Browse files
committed
make test cross-platform compatible
1 parent 49fd185 commit b324a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo33/src/integration-test/groovy/demo/JsonControllerSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ class JsonControllerSpec extends Specification {
3232
def response = new URL("http://localhost:$serverPort/json/index").getText()
3333

3434
then:
35-
response == '\n<html><head><title></title></head><body>Testing</body></html>'
35+
response.contains('<html><head><title></title></head><body>Testing</body></html>')
3636
}
3737
}

0 commit comments

Comments
 (0)