Skip to content

Commit ce3ec7a

Browse files
committed
fix test
1 parent 47d7f73 commit ce3ec7a

File tree

1 file changed

+1
-1
lines changed
  • scala-core-collections-modules/scala-core-collections-4/src/test/scala/com/baeldung/scala/listaverage

1 file changed

+1
-1
lines changed

scala-core-collections-modules/scala-core-collections-4/src/test/scala/com/baeldung/scala/listaverage/ListAverageUnitTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import org.scalatest.flatspec.AnyFlatSpec
44
import org.scalatest.matchers.should.Matchers
55

66
class ListAverageUnitTest extends AnyFlatSpec with Matchers {
7-
val lst = List(1, 2, 3, 4, 5)
7+
val lst = List(1, 2, 3, 4)
88

99
"naive" should "return rounded average 2" in {
1010
ListAverage.naive(lst) shouldBe 2

0 commit comments

Comments
 (0)