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

Unified Diff: tests/language/call_constructor_on_unresolvable_class_test.dart

Issue 11112014: Change test so that it does not use the built-in 'library'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « no previous file | tests/language/language_dart2js.status » ('j') | tests/language/language_dart2js.status » ('J')
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 3ecf056d1b41498cd0556db5b7f77ee7db9d8a8a..0998eecd951c9bd34b3be85f994d77c8ce2b976a 100644
--- a/tests/language/call_constructor_on_unresolvable_class_test.dart
+++ b/tests/language/call_constructor_on_unresolvable_class_test.dart
@@ -20,12 +20,12 @@ main() {
// These should not produce errors because the calls are never executed.
new A(); /// 01: static type warning
new A.foo(); /// 02: static type warning
- new library.A(); /// 03: static type warning
+ new lib.A(); /// 03: static type warning
}
new A(); /// 04: runtime error
new A.foo(); /// 05: runtime error
- new library.A(); /// 06: runtime error
+ new lib.A(); /// 06: runtime error
var ex; /// 07: static type warning
try { /// 07: continued
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | tests/language/language_dart2js.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698