Skip to content

Commit

Permalink
Fix a REPL test, under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Jul 4, 2023
1 parent 0a21ecf commit 7a2d98d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/test/dotty/tools/repl/ReplCompilerTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ class ReplCompilerTests extends ReplTest:
}.andThen {
assertEquals(
"""// defined trait Nat
|// defined object Nat
|""".stripMargin, storedOutput())
|// defined object Nat""".stripMargin, storedOutput().trim)
run("Nat.fromInt(2)")
}.andThen {
assertEquals("val res0: Nat.Succ[Nat.Succ[Nat.Zero.type]] = Succ(Succ(Zero))", storedOutput().trim)
Expand Down

0 comments on commit 7a2d98d

Please sign in to comment.