Skip to content

Commit

Permalink
Cleanup uses of @optionalTypeArgs annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Mar 1, 2024
1 parent 15dd9e0 commit d08d7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/matchers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Matcher isSuccess<R>({

/// Returns a [Matcher] that asserts the context under test is a [Failure].
/// Optionally also asserts [position] and [message].
@optionalTypeArgs
Matcher isFailure({
dynamic buffer = anything,
dynamic position = anything,
Expand Down Expand Up @@ -142,6 +141,7 @@ Matcher isLinterIssue({
.having((issue) => issue.toString(), 'toString()', toString);

/// Returns a [Matcher] that asserts a [SeparatedList].
@optionalTypeArgs
Matcher isSeparatedList<R, S>({
dynamic elements = anything,
dynamic separators = anything,
Expand Down

0 comments on commit d08d7f9

Please sign in to comment.