diff --git a/tests/unit/src/test/scala/tests/markdown/CheckLinkHygieneSuite.scala b/tests/unit/src/test/scala/tests/markdown/CheckLinkHygieneSuite.scala index 8cfd04aa8..026acf67a 100644 --- a/tests/unit/src/test/scala/tests/markdown/CheckLinkHygieneSuite.scala +++ b/tests/unit/src/test/scala/tests/markdown/CheckLinkHygieneSuite.scala @@ -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 + ) + }