Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: test/integration_test.dart

Issue 1918933002: Fix for default filter (#228). (Closed) Base URL: https://github.com/dart-lang/linter.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/linter.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/integration_test.dart
diff --git a/test/integration_test.dart b/test/integration_test.dart
index 8575b4beadd7d0b5867e50e47a18638d16ef5804..db7aa1664e99177478c8967f4425f0bed0832035 100644
--- a/test/integration_test.dart
+++ b/test/integration_test.dart
@@ -53,6 +53,12 @@ defineTests() {
expect(collectingOut.trim(),
stringContainsInOrder(['4 files analyzed, 0 issues found, in']));
});
+ test('default', () {
+ dartlint.main(['test/_data/p2']);
+ expect(exitCode, 1);
+ expect(collectingOut.trim(),
+ stringContainsInOrder(['4 files analyzed, 3 issues found, in']));
+ });
});
});
group('p3', () {
« no previous file with comments | « bin/linter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698