Skip to content

Commit aada76b

Browse files
committed
oops
1 parent 76202d3 commit aada76b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json_serializable/test/json_serializable_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import 'analysis_utils.dart';
1717
import 'test_file_utils.dart';
1818

1919
Matcher _throwsInvalidGenerationSourceError(messageMatcher, todoMatcher) =>
20-
const TypeMatcher<InvalidGenerationSourceError>()
20+
throwsA(const TypeMatcher<InvalidGenerationSourceError>()
2121
.having((e) => e.message, 'message', messageMatcher)
2222
.having((e) => e.todo, 'todo', todoMatcher)
23-
.having((e) => e.element, 'element', isNotNull);
23+
.having((e) => e.element, 'element', isNotNull));
2424

2525
Matcher _throwsUnsupportedError(matcher) =>
2626
throwsA(const TypeMatcher<UnsupportedError>()

0 commit comments

Comments
 (0)