Skip to content

Commit 43b0c62

Browse files
authored
Update Lists.scala
I really should download the project and not edit online that often.
1 parent 2c7be0e commit 43b0c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/Lists.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ object Lists extends FlatSpec with Matchers with org.scalaexercises.definitions.
165165
def addElementsLists(res0: List[Int]) {
166166
val a = List(1, 3, 5, 7)
167167

168-
a :: 9 should be(res0)
168+
0 :: a should be(res0)
169169
}
170170

171171
/** Lists can be concatened and Nil is an empty List:

0 commit comments

Comments
 (0)