Skip to content

Commit

Permalink
add tests for #358
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Oct 2, 2024
1 parent efff228 commit 1f6b435
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/hash-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@ An [anchor link](#heading-with-an-anchor-link) to a heading.
## Product Owner / Design Approval

[Product Owner / Design Approval](#product-owner--design-approval)

## Migrating from `<= v1.18.0`

Whitespaces separated by special characters (no workaround)

[migrating from <= v1.18.0](#migrating-from--v1180)

## Client/server examples using `network.peer.*

Consequent whitespaces typo (easy to workaround)

[Client/server examples using `network.peer.*`](#clientserver-examples-using--networkpeer)
2 changes: 2 additions & 0 deletions test/markdown-link-check.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ describe('markdown-link-check', function () {
{ link: '#--docker', statusCode: 200, err: null, status: 'alive' },
{ link: '#step-7---lint--test', statusCode: 200, err: null, status: 'alive' },
{ link: '#product-owner--design-approval', statusCode: 200, err: null, status: 'alive' },
{ link: '#migrating-from--v1180', statusCode: 200, err: null, status: 'alive' },
{ link: '#clientserver-examples-using--networkpeer', statusCode: 200, err: null, status: 'alive' },
]);
done();
});
Expand Down

0 comments on commit 1f6b435

Please sign in to comment.