Skip to content

Commit 558758c

Browse files
committed
oops
1 parent 83fb22a commit 558758c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/test/scala/scala/collection/immutable/TestLazyListExtensions.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ import next._
1919

2020
class TestLazyListExtensions {
2121

22-
// An empty list is considered cyclical, here.
2322
// This method will *not* terminate for non-cyclic infinite-sized collections.
24-
// There is cycle-detection code in LazyList.scala, but I don't
25-
// see a way to access it from scala-library-next and get a boolean result.
26-
// Refactor when this moves to stdlib? For our purposes here, we only need to be able to
27-
// verify that a list expected to be cyclical, in fact is.
2823
def assertIsCyclical[T](xs: LazyList[T]): Unit = {
2924
assertTrue(xs.nonEmpty)
3025
xs.force

0 commit comments

Comments
 (0)