dart-lang / matcher

A declarative API for specifying expectations.
https://pub.dev/packages/matcher
BSD 3-Clause "New" or "Revised" License
71 stars 37 forks source link

Specify language in neverCalled docs for nicer formatting in docs #230

Closed goderbauer closed 11 months ago

goderbauer commented 11 months ago

This will also enable us to enable dartdoc's missing-code-block-language warning in Flutter (pkg:matcher is documented together with Flutter).

This also matches the style elsewhere in the repository, e.g. https://github.com/dart-lang/matcher/blob/356e5f68d3484d44b9ef3b814ed95f9de17c7afd/lib/src/custom_matcher.dart#L21