Skip to content

Commit a5a3d79

Browse files
authored
adjust a test to pass on both 2.13.14 and 15 (#659)
1 parent 3f5e22e commit a5a3d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/src/test/scala/test/scala/collection/LazyListTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class LazyListTest {
381381
try {
382382
finite.force
383383
fail("Expected RuntimeException to be thrown")
384-
} catch { case e: RuntimeException => assertTrue(e.getMessage.contains("self-referential")) }
384+
} catch { case e: RuntimeException => assertTrue(e.getMessage.contains("self-refer")) }
385385
}
386386
assertNoStackOverflow {
387387
class L { val ll: LazyList[Nothing] = LazyList.empty #::: ll }; (new L).ll

0 commit comments

Comments
 (0)