Skip to content

Commit 234972b

Browse files
committed
Fix test to trigger stack overflow bug w/o prev fix
1 parent c32ee8f commit 234972b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/fj/data/CheckStream.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ object CheckStream extends Properties("Stream") {
4848
def g(s: String) = s.toUpperCase
4949
streamEqual(stringEqual).eq(a.map((x: String) => f(g(x))), a.map((x: String) => g(x)).map((x: String) => f(x)))})
5050

51-
val length = Gen.choose(0, 3000)
51+
val length = Gen.choose(0, 5000)
5252

5353
property("bindStackOverflow") = forAll(length)(size => {
5454
val stream = iterableStream(JavaConversions.asJavaIterable((1 to size)))

0 commit comments

Comments
 (0)