Skip to content

Commit

Permalink
refactor: refactor error handling and improve matcher function
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicatarra committed Sep 16, 2024
1 parent 73d612b commit 9302716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/melos/test/matchers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Matcher ignoringDependencyMessages(String expected) {
!line.startsWith('Got dependencies!'),
)
.join('\n');
return ignoringAnsii(expected).matches(normalizedActual, {});
return contains(expected).matches(normalizedActual, {});
},
'ignores dependency resolution messages',
);
Expand Down

0 comments on commit 9302716

Please sign in to comment.