Skip to content

Commit

Permalink
Fix test to trigger stack overflow bug w/o prev fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-tg committed Jan 14, 2013
1 parent c32ee8f commit 234972b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/fj/data/CheckStream.scala
Expand Up @@ -48,7 +48,7 @@ object CheckStream extends Properties("Stream") {
def g(s: String) = s.toUpperCase
streamEqual(stringEqual).eq(a.map((x: String) => f(g(x))), a.map((x: String) => g(x)).map((x: String) => f(x)))})

val length = Gen.choose(0, 3000)
val length = Gen.choose(0, 5000)

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

0 comments on commit 234972b

Please sign in to comment.