Skip to content

Commit

Permalink
Check to ensure the CLI passes when there are no errors
Browse files Browse the repository at this point in the history
  • Loading branch information
daddykotex authored and tgodzik committed Sep 27, 2022
1 parent 01e5339 commit cb5f5e1
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,19 @@ class CheckLinkHygieneSuite extends BaseCliSuite {
expectedExitCode = 1
)

val valid =
"""/readme.md
|# Valid
""".stripMargin

checkCli(
"pass",
valid,
valid,
extraArgs = Array(
"--check-link-hygiene"
),
expectedExitCode = 0
)

}

0 comments on commit cb5f5e1

Please sign in to comment.