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

Unified Diff: tests/language/call_constructor_on_unresolvable_class_test.dart

Issue 166433002: Revert "Fix language tests wrt. warnings." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « tests/language/bit_operations_test.dart ('k') | tests/language/call_nonexistent_constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/call_constructor_on_unresolvable_class_test.dart
diff --git a/tests/language/call_constructor_on_unresolvable_class_test.dart b/tests/language/call_constructor_on_unresolvable_class_test.dart
index 676114b3095b3cd7109e28ea65c59be4dc0b5bb2..9e02d7dbf317f733a50c315968af3a2e6b4e3fd7 100644
--- a/tests/language/call_constructor_on_unresolvable_class_test.dart
+++ b/tests/language/call_constructor_on_unresolvable_class_test.dart
@@ -24,9 +24,9 @@ main() {
new lib.A(); /// 03: static type warning
}
- new A(); /// 04: static type warning, runtime error
- new A.foo(); /// 05: static type warning, runtime error
- new lib.A(); /// 06: static type warning, runtime error
+ new A(); /// 04: runtime error
+ new A.foo(); /// 05: runtime error
+ new lib.A(); /// 06: runtime error
var ex; /// 07: static type warning
try { /// 07: continued
« no previous file with comments | « tests/language/bit_operations_test.dart ('k') | tests/language/call_nonexistent_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698