From 2e23d6f26e3be7ede79d74bf3fce5a1fb0fad96e Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 5 Oct 2018 11:11:23 +0200 Subject: [PATCH] Fixed jdk11 incompatible test method names --- .../contract/stubrunner/StubRunnerPropertyUtilsSpec.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-cloud-contract-stub-runner/src/test/groovy/org/springframework/cloud/contract/stubrunner/StubRunnerPropertyUtilsSpec.groovy b/spring-cloud-contract-stub-runner/src/test/groovy/org/springframework/cloud/contract/stubrunner/StubRunnerPropertyUtilsSpec.groovy index fef4233f05..c5ee4d3a42 100644 --- a/spring-cloud-contract-stub-runner/src/test/groovy/org/springframework/cloud/contract/stubrunner/StubRunnerPropertyUtilsSpec.groovy +++ b/spring-cloud-contract-stub-runner/src/test/groovy/org/springframework/cloud/contract/stubrunner/StubRunnerPropertyUtilsSpec.groovy @@ -22,7 +22,7 @@ import spock.util.environment.RestoreSystemProperties class StubRunnerPropertyUtilsSpec extends Specification { @RestoreSystemProperties - def "should return [#expectedResult] when checking if queried prop is set, and system is [#systemProperty] and env [#envVariable]"() { + def "should return #expectedResult when checking if queried prop is set, and system is #systemProperty and env #envVariable"() { given: def sysProp = systemProperty def envVar = envVariable @@ -52,7 +52,7 @@ class StubRunnerPropertyUtilsSpec extends Specification { } @RestoreSystemProperties - def "should return [#expectedResult] when queried for queried prop and system is [#systemProperty] and env [#envVariable]"() { + def "should return #expectedResult when queried for queried prop and system is #systemProperty and env #envVariable"() { given: def sysProp = systemProperty def envVar = envVariable @@ -83,7 +83,7 @@ class StubRunnerPropertyUtilsSpec extends Specification { } @RestoreSystemProperties - def "should return [#expectedResult] when prop is set for queried prop and system is [#systemProperty] and env [#envVariable]"() { + def "should return #expectedResult when prop is set for queried prop and system is #systemProperty and env #envVariable"() { given: def sysProp = systemProperty def envVar = envVariable