From 64c778d5318cbf983bec9b4f1837999fa1e8225f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Ferenc=20Gyarmati?= <40776291+peter-gy@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:00:04 +0200 Subject: [PATCH] docs(test): fix broken links for 'Stream Matchers' 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. --- pkgs/test/README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/test/README.md b/pkgs/test/README.md index ea8d5b8f2..d826d22f4 100644 --- a/pkgs/test/README.md +++ b/pkgs/test/README.md @@ -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