Skip to content

Commit 7c33ae2

Browse files
dklimpeltcort
authored andcommitted
add tests for #360
1 parent 518ecfe commit 7c33ae2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

test/hash-links.md

+6
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,9 @@ Consequent whitespaces typo (easy to workaround)
8383
This is a [link to a linked header](#this-header-is-linked)
8484

8585
### Somewhere
86+
87+
## L. Is the package in the Linux distro base image?
88+
89+
Anchor links ending with `?`.
90+
91+
[L. Is the package in the Linux distro base image?](#l-is-the-package-in-the-linux-distro-base-image)

test/markdown-link-check.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ describe('markdown-link-check', function () {
422422
{ link: '#clientserver-examples-using--networkpeer', statusCode: 200, err: null, status: 'alive' },
423423
{ link: '#somewhere', statusCode: 200, err: null, status: 'alive' },
424424
{ link: '#this-header-is-linked', statusCode: 200, err: null, status: 'alive' },
425+
{ link: '#l-is-the-package-in-the-linux-distro-base-image', statusCode: 200, err: null, status: 'alive' },
425426
]);
426427
done();
427428
});

0 commit comments

Comments
 (0)