From b8e75f8aa0082e52f03874ff8a7bc210c77af355 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Mon, 23 Oct 2023 15:26:17 -0700 Subject: [PATCH] Specify language in neverCalled docs for nicer formatting in docs (dart-lang/matcher#230) This will also allow dartdoc's `missing-code-block-language` warning in Flutter. --- pkgs/matcher/CHANGELOG.md | 2 ++ pkgs/matcher/lib/src/expect/never_called.dart | 2 +- pkgs/matcher/pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/matcher/CHANGELOG.md b/pkgs/matcher/CHANGELOG.md index 6ca1b03a4..179f55799 100644 --- a/pkgs/matcher/CHANGELOG.md +++ b/pkgs/matcher/CHANGELOG.md @@ -1,3 +1,5 @@ +## 0.12.17-wip + ## 0.12.16 * Expand bounds on `test_api` dependency to allow the next breaking release diff --git a/pkgs/matcher/lib/src/expect/never_called.dart b/pkgs/matcher/lib/src/expect/never_called.dart index 46d27f0a3..20b529971 100644 --- a/pkgs/matcher/lib/src/expect/never_called.dart +++ b/pkgs/matcher/lib/src/expect/never_called.dart @@ -17,7 +17,7 @@ import 'util/pretty_print.dart'; /// This can safely be passed in place of any callback that takes ten or fewer /// positional parameters. For example: /// -/// ``` +/// ```dart /// // Asserts that the stream never emits an event. /// stream.listen(neverCalled); /// ``` diff --git a/pkgs/matcher/pubspec.yaml b/pkgs/matcher/pubspec.yaml index 814510615..3979a07b6 100644 --- a/pkgs/matcher/pubspec.yaml +++ b/pkgs/matcher/pubspec.yaml @@ -1,5 +1,5 @@ name: matcher -version: 0.12.16 +version: 0.12.17-wip description: >- Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.