Skip to content

Commit

Permalink
docs(test): fix broken links for 'Stream Matchers' (#1684)
Browse files Browse the repository at this point in the history
Currently, links in the [Stream Matchers](https://github.com/dart-lang/test#stream-matchers) section have the prefix: `https://pub.dev/documentation/test_api/latest/test_api/`. These links lead to 404 error pages.
  • Loading branch information
peter-gy committed Apr 11, 2022
1 parent b46f1cc commit 52d4ef7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkgs/test/README.md
Expand Up @@ -600,25 +600,25 @@ The following built-in stream matchers are available:

You can also define your own custom stream matchers with [`StreamMatcher()`].

[`emits()`]: https://pub.dev/documentation/test_api/latest/test_api/emits.html
[`emits()`]: https://pub.dev/documentation/test_api/latest/expect/emits.html

[`emitsError()`]: https://pub.dev/documentation/test_api/latest/test_api/emitsError.html
[`emitsError()`]: https://pub.dev/documentation/test_api/latest/expect/emitsError.html

[`emitsDone`]: https://pub.dev/documentation/test_api/latest/test_api/emitsDone.html
[`emitsDone`]: https://pub.dev/documentation/test_api/latest/expect/emitsDone.html

[`mayEmit()`]: https://pub.dev/documentation/test_api/latest/test_api/mayEmit.html
[`mayEmit()`]: https://pub.dev/documentation/test_api/latest/expect/mayEmit.html

[`mayEmitMultiple()`]: https://pub.dev/documentation/test_api/latest/test_api/mayEmitMultiple.html
[`mayEmitMultiple()`]: https://pub.dev/documentation/test_api/latest/expect/mayEmitMultiple.html

[`emitsAnyOf()`]: https://pub.dev/documentation/test_api/latest/test_api/emitsAnyOf.html
[`emitsAnyOf()`]: https://pub.dev/documentation/test_api/latest/expect/emitsAnyOf.html

[`emitsInOrder()`]: https://pub.dev/documentation/test_api/latest/test_api/emitsInOrder.html
[`emitsInOrder()`]: https://pub.dev/documentation/test_api/latest/expect/emitsInOrder.html

[`emitsInAnyOrder()`]: https://pub.dev/documentation/test_api/latest/test_api/emitsInAnyOrder.html
[`emitsInAnyOrder()`]: https://pub.dev/documentation/test_api/latest/expect/emitsInAnyOrder.html

[`neverEmits()`]: https://pub.dev/documentation/test_api/latest/test_api/neverEmits.html
[`neverEmits()`]: https://pub.dev/documentation/test_api/latest/expect/neverEmits.html

[`StreamMatcher()`]: https://pub.dev/documentation/test_api/latest/test_api/StreamMatcher-class.html
[`StreamMatcher()`]: https://pub.dev/documentation/test_api/latest/expect/StreamMatcher-class.html

## Running Tests With Custom HTML

Expand Down

0 comments on commit 52d4ef7

Please sign in to comment.