Skip to content

Commit 6eca723

Browse files
committed
Fix anchor references in UnexpectedError docs
Caught by hyperlink when I tried to make a release: $ ./node_modules/.bin/hyperlink -ri --canonicalroot https://unexpected.js.org --skip content-type-mismatch --skip unexpected.js.org/unexpected- site-build/index.html | ./node_modules/.bin/tap-spot Guessing --root from input files: file:///home/andreas/work/unexpected/site-build/ .......................................................................................................................,,,,,,,,,,,,,,............................................................................................................................×× ✖ FAIL fragment-check site-build/api/UnexpectedError/index.html --> #unexpectederror-parent | operator: fragment-check | expected: id="unexpectederror-parent" | at: site-build/api/UnexpectedError/index.html:162:10 <a href="#unexpectederror-parent">...</a> ✖ FAIL fragment-check site-build/api/UnexpectedError/index.html --> #unexpectederror-parent | operator: fragment-check | expected: id="unexpectederror-parent" | at: site-build/api/UnexpectedError/index.html:162:10 <a href="#unexpectederror-parent">...</a> 259 tests 14 skipped 257 passed 2 failed
1 parent b9236e6 commit 6eca723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/api/UnexpectedError.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ expected 'f00!' to be 'foo!'
132132
## UnexpectedError.getParents()
133133

134134
Return an array with all the ancestor errors to this error. See
135-
<a href="#unexpectederror-parent">parent</a> for more information.
135+
<a href="#unexpectederrorparent">parent</a> for more information.
136136

137137
## UnexpectedError.getAllErrors()
138138

139139
Return an array with this error and all its ancestors. See
140-
<a href="#unexpectederror-parent">parent</a> for more information.
140+
<a href="#unexpectederrorparent">parent</a> for more information.
141141

142142
## UnexpectedError.getDiff()
143143

0 commit comments

Comments
 (0)