Skip to content

Commit

Permalink
adjust a test to pass on both 2.13.14 and 15
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Aug 18, 2024
1 parent 3f5e22e commit d37c863
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class LazyListTest {
try {
finite.force
fail("Expected RuntimeException to be thrown")
} catch { case e: RuntimeException => assertTrue(e.getMessage.contains("self-referential")) }
} catch { case e: RuntimeException => assertTrue(e.getMessage.contains("self-refer")) }
}
assertNoStackOverflow {
class L { val ll: LazyList[Nothing] = LazyList.empty #::: ll }; (new L).ll
Expand Down

0 comments on commit d37c863

Please sign in to comment.