diff --git a/packages/bloc_presentation_test/lib/src/bloc_presentation_test.dart b/packages/bloc_presentation_test/lib/src/bloc_presentation_test.dart index 056d3ed..7e385ef 100644 --- a/packages/bloc_presentation_test/lib/src/bloc_presentation_test.dart +++ b/packages/bloc_presentation_test/lib/src/bloc_presentation_test.dart @@ -112,7 +112,7 @@ Future 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''', ); } diff --git a/packages/bloc_presentation_test/test/bloc_presentation_test_test.dart b/packages/bloc_presentation_test/test/bloc_presentation_test_test.dart index bd2cf0c..b5343c2 100644 --- a/packages/bloc_presentation_test/test/bloc_presentation_test_test.dart +++ b/packages/bloc_presentation_test/test/bloc_presentation_test_test.dart @@ -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();