Skip to content

Commit

Permalink
test: Debug ignore deps
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Oct 7, 2024
1 parent d9ed25a commit f8b0463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/melos/test/matchers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Matcher ignoringDependencyMessages(String expected) {
!(line.startsWith(' ') && line.contains(' available)')),
)
.join('\n');
print('normalizedActual: $normalizedActual');

Check notice on line 29 in packages/melos/test/matchers.dart

View workflow job for this annotation

GitHub Actions / analyze

Don't invoke 'print' in production code.

Try using a logging framework. See https://dart.dev/diagnostics/avoid_print to learn more about this problem.
print('expected: $expected');

Check notice on line 30 in packages/melos/test/matchers.dart

View workflow job for this annotation

GitHub Actions / analyze

Don't invoke 'print' in production code.

Try using a logging framework. See https://dart.dev/diagnostics/avoid_print to learn more about this problem.
return ignoringAnsii(expected).matches(normalizedActual, {});
},
'ignores dependency resolution messages',
Expand Down

0 comments on commit f8b0463

Please sign in to comment.