Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Mamak committed Oct 3, 2023
1 parent 0b3ec37 commit 2ced114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Future<void>
throw TestFailure(
'''
${e.message}
WARNING: Please ensure presentation events instances extend Equatable, override == and hashCode, or implement Comparable.
WARNING: Please ensure presentation events extend Equatable, override == and hashCode, or implement Comparable.
Alternatively, consider using Matchers in the expectPresentation of the blocPresentationTest rather than concrete presentation events instances.\n''',
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ void main() {
group('NonEquatableCounterCubit', () {
test('adds additional warning to thrown exception message', () async {
const warning = '\n'
'WARNING: Please ensure presentation events instances extend Equatable, override == and hashCode, or implement Comparable.\n'
'WARNING: Please ensure presentation events extend Equatable, override == and hashCode, or implement Comparable.\n'
'Alternatively, consider using Matchers in the expectPresentation of the blocPresentationTest rather than concrete presentation events instances.\n';
late Object actualError;
final completer = Completer<void>();
Expand Down

0 comments on commit 2ced114

Please sign in to comment.