This is an automated email from the ASF dual-hosted git repository. fschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit 8de1a5b62bd3a9e88401d84f681cf8e8b59dc417 Author: Felix Schumacher <[email protected]> AuthorDate: Mon Aug 16 10:15:29 2021 +0200 Fix typo in Groovy Spec code Newer versions of spock are less forgiving about typos in unrolled variables --- .../groovy/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/src/test/groovy/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy b/src/components/src/test/groovy/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy index b9491dd..c38944d 100644 --- a/src/components/src/test/groovy/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy +++ b/src/components/src/test/groovy/org/apache/jmeter/extractor/BoundaryExtractorSpec.groovy @@ -60,7 +60,7 @@ class BoundaryExtractorSpec extends Specification { context.setPreviousResult(prevResult) } - def "Extract, where pattern exists, with matchNumber=#matchNumber from #occurences returns #expected"() { + def "Extract, where pattern exists, with matchNumber=#matchNumber from #occurrences returns #expected"() { given: def input = createInputString(occurrences) when: @@ -86,7 +86,7 @@ class BoundaryExtractorSpec extends Specification { matchNumber << [-1, 0, 1, 2, 100] } - def "Extract, where pattern exists in the stream, with matchNumber=#matchNumber from #occurances returns #expected"() { + def "Extract, where pattern exists in the stream, with matchNumber=#matchNumber from #occurrences returns #expected"() { given: def input = createInputString(occurrences) Stream<String> stream = ([input, "", null] * 10).stream()
