Skip to content

Commit 6ddd0c3

Browse files
committed
String.repeat is not available on jdk8
1 parent 8844977 commit 6ddd0c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/ratpack/ratpack-1.4/testing/src/main/groovy/io/opentelemetry/instrumentation/ratpack/server/AbstractRatpackHttpServerTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ abstract class AbstractRatpackHttpServerTest extends HttpServerTest<RatpackServe
227227

228228
when:
229229
// body should be large enough to trigger multiple calls to onNext
230-
def body = "foobar".repeat(10000)
230+
def body = "foobar" * 10000
231231
def response = client.post(resolveAddress(POST_STREAM), body).aggregate().join()
232232

233233
then:

0 commit comments

Comments
 (0)