Skip to content

Commit 348329d

Browse files
committed
docs: fix unclosed link in Test Runner documentation
Fixes an unclosed link tag that causes all text after it to be underlined and clickable in the HTML documentation. Before: [<RegExp>] After: [RegExp]
1 parent d428341 commit 348329d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,10 @@ it('should do the thing', { expectFailure: 'feature not implemented' }, () => {
288288
```
289289

290290
If the value of `expectFailure` is a
291-
[<RegExp>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) |
292-
[<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) |
293-
[<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) |
294-
[<Error>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error),
291+
[RegExp](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) |
292+
[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) |
293+
[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) |
294+
[Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error),
295295
the tests will pass only if they throw a matching value.
296296
See [`assert.throws`][] for how each value type is handled.
297297

0 commit comments

Comments
 (0)