Skip to content

Commit 1b136b0

Browse files
author
Alejandro Gómez
committed
s/===/shouldEqual/
1 parent ee0763d commit 1b136b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/stdlib/Asserts.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ object Asserts extends FlatSpec with Matchers with exercise.Section {
4646
*/
4747
def booleanAsserts(res0: Int) {
4848
val v1 = 4
49-
v1 === res0
49+
v1 shouldEqual res0
5050

51-
/** `===` is an assert. It is from ScalaTest, not from the Scala language. */
51+
/** `shouldEqual` is an assertion. It is from ScalaTest, not from the Scala language. */
5252
}
5353

5454
/** Sometimes we expect you to fill in the values

0 commit comments

Comments
 (0)