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

Unified Diff: pkg/analyzer_cli/test/driver_test.dart

Issue 2704103002: Some improvements to the command-line analyzer's output. (Closed)
Patch Set: review comments Created 3 years, 10 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
Index: pkg/analyzer_cli/test/driver_test.dart
diff --git a/pkg/analyzer_cli/test/driver_test.dart b/pkg/analyzer_cli/test/driver_test.dart
index cd0e5df272e57815a56d5ad39896e7cfa00dd267..429eb3398b9cfaa01e525b0d56045e001f3c7a6e 100644
--- a/pkg/analyzer_cli/test/driver_test.dart
+++ b/pkg/analyzer_cli/test/driver_test.dart
@@ -143,7 +143,7 @@ main() {
test('generates lints', () async {
await runLinter();
expect(outSink.toString(),
- contains('[lint] Name types using UpperCamelCase.'));
+ contains('[lint] Name types using UpperCamelCase'));
});
});
@@ -169,7 +169,7 @@ main() {
test('generates lints', () async {
await runLinter();
expect(outSink.toString(),
- contains('[lint] Name types using UpperCamelCase.'));
+ contains('[lint] Name types using UpperCamelCase'));
});
});
@@ -318,9 +318,9 @@ linter:
);
expect(exitCode, 3);
expect(outSink.toString(),
- contains('but doesn\'t end with a return statement.'));
+ contains('but doesn\'t end with a return statement'));
expect(outSink.toString(), contains('isn\'t defined'));
- expect(outSink.toString(), contains('Avoid empty else statements.'));
+ expect(outSink.toString(), contains('Avoid empty else statements'));
});
test('test strong SDK', () async {

Powered by Google App Engine
This is Rietveld 408576698