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

Unified Diff: tests/compiler/dart2js/resolver_test.dart

Issue 206193002: Remove cancel and make crash exit with code 253. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 9 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 | « tests/compiler/dart2js/parser_test.dart ('k') | tests/compiler/dart2js/unparser2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/resolver_test.dart
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
index d75a60569480c775bb6dab8ef2bd758274216f29..04ca4e30b67891edc7fa92da2a5cdbaa33f6c14c 100644
--- a/tests/compiler/dart2js/resolver_test.dart
+++ b/tests/compiler/dart2js/resolver_test.dart
@@ -116,10 +116,10 @@ class Bar extends Foo implements X<Bar> {}
compiler.resolveStatement("Bar bar;");
ClassElement classBar = compiler.mainApp.find("Bar");
Expect.equals(0, compiler.warnings.length);
- Expect.equals(0, compiler.errors.length);
- Expect.equals(1, compiler.crashes.length);
+ Expect.equals(1, compiler.errors.length);
Expect.equals(MessageKind.MULTI_INHERITANCE,
- compiler.crashes[0].message.kind);
+ compiler.errors[0].message.kind);
+ Expect.equals(0, compiler.crashes.length);
}
testTypeVariables() {
@@ -754,10 +754,10 @@ testClassHierarchy() {
mainElement = compiler.mainApp.find(MAIN);
compiler.resolver.resolve(mainElement);
Expect.equals(0, compiler.warnings.length);
- Expect.equals(0, compiler.errors.length);
- Expect.equals(1, compiler.crashes.length);
+ Expect.equals(1, compiler.errors.length);
Expect.equals(MessageKind.MULTI_INHERITANCE,
- compiler.crashes[0].message.kind);
+ compiler.errors[0].message.kind);
+ Expect.equals(0, compiler.crashes.length);
}
testInitializers() {
« no previous file with comments | « tests/compiler/dart2js/parser_test.dart ('k') | tests/compiler/dart2js/unparser2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698