Skip to content

Commit

Permalink
Two more CRLF fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Oct 9, 2023
1 parent a8da9f6 commit eb9964d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/scala/cli/src/test/scala/org/enso/cli/ApplicationSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,15 @@ class ApplicationSpec
}

withClue("show available commands if no similar available") {
runErrors("very-strange-command-name") should (include(
runErrors("very-strange-command-name").replace(
"\r\n",
"\n"
) should (include(
"`very-strange-command-name` is not a valid command."
.replace("\r\n", "\n")
) and include("""Available commands:
| cmd Cmd.
|""".stripMargin))
|""".replace("\r\n", "\n").stripMargin))
}

withClue("show command help if subcommand is missing") {
Expand Down Expand Up @@ -321,7 +325,7 @@ class ApplicationSpec
|--help`.
|""".stripMargin

topOutput shouldEqual topHelp
topOutput.replace("\r\n", "\n") shouldEqual topHelp.replace("\r\n", "\n")
}
}
}

0 comments on commit eb9964d

Please sign in to comment.