Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Use a shorter doc header for CustomMatcher
Browse files Browse the repository at this point in the history
Separate the second sentence into a new paragraph so dartdoc does not
pull it in to the header. Rephrase the header to say more than that it
is a base class.
  • Loading branch information
natebosch committed Oct 15, 2024
1 parent 31f1358 commit 55514cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.12.17-wip

## 0.12.16+1

* Require Dart 3.0
Expand Down
4 changes: 3 additions & 1 deletion lib/src/custom_matcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import 'description.dart';
import 'interfaces.dart';
import 'util.dart';

/// A useful utility class for implementing other matchers through inheritance.
/// A base class for [Matcher] instances that match based on some feature of the
/// value under test.
///
/// Derived classes should call the base constructor with a feature name and
/// description, and an instance matcher, and should implement the
/// [featureValueOf] abstract method.
Expand Down
6 changes: 5 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: matcher
version: 0.12.16+1
version: 0.12.17
description: >-
Support for specifying test expectations via an extensible Matcher class.
Also includes a number of built-in Matcher implementations for common cases.
Expand All @@ -19,3 +19,7 @@ dev_dependencies:
fake_async: ^1.3.0
lints: ^3.0.0
test: ^1.23.0

dependency_overrides:
test: 1.25.0
test_api: 0.7.3

0 comments on commit 55514cf

Please sign in to comment.