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