mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2025-05-27 11:37:24 +02:00
test: separate cases, so it's easier to know what fails
This commit is contained in:
13
test/fixtures/valid/existing-heading-fragment/awesome.md
vendored
Normal file
13
test/fixtures/valid/existing-heading-fragment/awesome.md
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Valid
|
||||
|
||||
## Existing Heading
|
||||
|
||||
### Repeated Heading
|
||||
|
||||
Text
|
||||
|
||||
### Repeated Heading
|
||||
|
||||
Text
|
||||
|
||||
### Repeated Heading
|
9
test/fixtures/valid/existing-heading-fragment/existing-heading-fragment.md
vendored
Normal file
9
test/fixtures/valid/existing-heading-fragment/existing-heading-fragment.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Valid
|
||||
|
||||
[Link fragment](./awesome.md#existing-heading)
|
||||
|
||||
[Link fragment Repeated 0](./awesome.md#repeated-heading)
|
||||
|
||||
[Link fragment Repeated 1](./awesome.md#repeated-heading-1)
|
||||
|
||||
[Link fragment Repeated 2](./awesome.md#repeated-heading-2)
|
Reference in New Issue
Block a user