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

Unified Diff: test/report_test.dart

Issue 1183733004: fixes #25, most analyzer errors were not computed (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 | « test/codegen/expect/temps.txt ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/report_test.dart
diff --git a/test/report_test.dart b/test/report_test.dart
index 8df2d3e59ce7b9280c59f8e8ec71038e7a2d79ec..f6f295d1a83893a94db0c4fc066372db9557af95 100644
--- a/test/report_test.dart
+++ b/test/report_test.dart
@@ -46,9 +46,11 @@ void main() {
_verifySummary(GlobalSummary summary) {
var mainLib = summary.loose['file:///main.dart'];
- expect(mainLib.messages.length, 1);
+ expect(mainLib.messages.length, 2);
+ var analyzerMsg = mainLib.messages[0];
+ expect(analyzerMsg.kind, "AnalyzerMessage");
- var mainMessage = mainLib.messages[0];
+ var mainMessage = mainLib.messages[1];
expect(mainMessage.kind, "StaticTypeError");
expect(mainMessage.level, "severe");
expect(mainMessage.span.text, '"hi"');
« no previous file with comments | « test/codegen/expect/temps.txt ('k') | tool/sdk_expected_errors.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698