diff --git a/compiler/test/dotty/tools/repl/ReplCompilerTests.scala b/compiler/test/dotty/tools/repl/ReplCompilerTests.scala index 3ea14357186c..26092b73f107 100644 --- a/compiler/test/dotty/tools/repl/ReplCompilerTests.scala +++ b/compiler/test/dotty/tools/repl/ReplCompilerTests.scala @@ -207,7 +207,7 @@ class ReplCompilerTests extends ReplTest: | else Succ(fromInt(prevOf[i.type](i))) """.stripMargin) }.andThen { - assertEquals( + assertMultiLineEquals( """// defined trait Nat |// defined object Nat |""".stripMargin, storedOutput())