|
|
@ -80,3 +80,16 @@ Feature: Markdown |
|
|
""" |
|
|
""" |
|
|
When I successfully run `linkcheck foo.md bar.md` |
|
|
When I successfully run `linkcheck foo.md bar.md` |
|
|
Then the stdout should contain exactly "" |
|
|
Then the stdout should contain exactly "" |
|
|
|
|
|
|
|
|
|
|
|
Scenario: Check 2 markdown files |
|
|
|
|
|
Given a file named "foo.md" with: |
|
|
|
|
|
""" |
|
|
|
|
|
[](https://circleci.com/gh/raviqqe/linkcheck) |
|
|
|
|
|
[](https://goreportcard.com/report/github.com/raviqqe/linkcheck) |
|
|
|
|
|
""" |
|
|
|
|
|
And a file named "foo.sh" with: |
|
|
|
|
|
""" |
|
|
|
|
|
linkcheck -v foo.md 2>&1 | wc -l |
|
|
|
|
|
""" |
|
|
|
|
|
When I successfully run `sh foo.sh` |
|
|
|
|
|
Then the stdout should contain exactly "2" |
|
|
|