Skip to content

Commit d74c470

Browse files
committed
tests working
1 parent ea6409e commit d74c470

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/scala/stdlib/HigherOrderFunctions.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ object HigherOrderFunctions extends FlatSpec with Matchers with org.scalaexercis
3131
val result5 = lambda5(3)
3232

3333
result should be(res0)
34-
result1andhalf should be(res1+1)
35-
result2 should be(res2+2)
36-
result3 should be(res3+3)
37-
result4 should be(res4-1)
34+
result1andhalf should be(res1)
35+
result2 should be(res2)
36+
result3 should be(res3)
37+
result4 should be(res4)
3838
result5 should be(res5)
3939
}
4040

src/test/scala/stdlib/HigherOrderFunctionsSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class HigherOrderFunctionsSpec extends Spec with Checkers {
1111
check(
1212
Test.testSuccess(
1313
HigherOrderFunctions.meetLambdaHigherOrderFunctions _,
14-
4 :: 4 :: 4 :: 4 :: 4 :: 4 :: HNil
14+
4 :: 4 :: 5 :: 6 :: 2 :: 4 :: HNil
1515
)
1616
)
1717
}

0 commit comments

Comments
 (0)