Skip to content

Commit a9ec35d

Browse files
committed
tweak order of util matcher
1 parent 3103075 commit a9ec35d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_utils.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ Matcher throwsInvalidGenerationSourceError(messageMatcher, todoMatcher) =>
3131
throwsA(allOf(
3232
new isInstanceOf<InvalidGenerationSourceError>(),
3333
new FeatureMatcher<InvalidGenerationSourceError>(
34-
'todo', (e) => e.todo, todoMatcher),
34+
'message', (e) => e.message, messageMatcher),
3535
new FeatureMatcher<InvalidGenerationSourceError>(
36-
'message', (e) => e.message, messageMatcher)));
36+
'todo', (e) => e.todo, todoMatcher)));
3737

3838
// TODO(kevmoo) add this to pkg/matcher – is nice!
3939
class FeatureMatcher<T> extends CustomMatcher {

0 commit comments

Comments
 (0)