Skip to content

Commit

Permalink
add tests for #360
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Oct 2, 2024
1 parent fc3dff0 commit 8090157
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/hash-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,9 @@ Consequent whitespaces typo (easy to workaround)
This is a [link to a linked header](#this-header-is-linked)

### Somewhere

## L. Is the package in the Linux distro base image?

Anchor links ending with `?`.

[L. Is the package in the Linux distro base image?](#l-is-the-package-in-the-linux-distro-base-image)
1 change: 1 addition & 0 deletions test/markdown-link-check.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ describe('markdown-link-check', function () {
{ link: '#clientserver-examples-using--networkpeer', statusCode: 200, err: null, status: 'alive' },
{ link: '#somewhere', statusCode: 200, err: null, status: 'alive' },
{ link: '#this-header-is-linked', statusCode: 200, err: null, status: 'alive' },
{ link: '#l-is-the-package-in-the-linux-distro-base-image', statusCode: 200, err: null, status: 'alive' },
]);
done();
});
Expand Down

0 comments on commit 8090157

Please sign in to comment.