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 08a760a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@ class ApplicationSpec
}

withClue("show available commands if no similar available") {
runErrors("very-strange-command-name") should (include(
"`very-strange-command-name` is not a valid command."
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 +321,7 @@ class ApplicationSpec
|--help`.
|""".stripMargin

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

0 comments on commit 08a760a

Please sign in to comment.