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', () { |