Skip to content

Commit

Permalink
Correct lazy list expectation
Browse files Browse the repository at this point in the history
I've replicated this result in a few Scala 2.13 versions. It's
not clear to me why in #216, the result seems
to be the opposite. This PR is now a bit
of a smoke test for that build failure.
  • Loading branch information
jisantuc authored Feb 3, 2022
1 parent 87be7d0 commit 6e3c611
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import shapeless.HNil
class LazyEvaluationSpec extends RefSpec with Checkers {

def `check lazy list range`(): Unit =
check(Test.testSuccess(LazyEvaluation.llRangeExercise _, 4 :: HNil))
check(Test.testSuccess(LazyEvaluation.llRangeExercise _, 3 :: HNil))

def `check lazy val`(): Unit =
check(Test.testSuccess(LazyEvaluation.lazyVal _, "xzyz" :: HNil))
Expand Down

0 comments on commit 6e3c611

Please sign in to comment.