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

Unified Diff: tests/language/prefix3_negative_test.dart

Issue 11316283: Eliminate old style import from language tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/prefix2_negative_test.dart ('k') | tests/language/prefix4_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/prefix3_negative_test.dart
===================================================================
--- tests/language/prefix3_negative_test.dart (revision 15598)
+++ tests/language/prefix3_negative_test.dart (working copy)
@@ -7,9 +7,9 @@
// not an error but both library1.dart and library2.dart define 'foo' which
// results in a duplicate definition error.
-#library("Prefix3NegativeTest.dart");
-#import("library1.dart", prefix: "lib2"); // defines 'foo'.
-#import("library2.dart", prefix: "lib2"); // also defines 'foo'.
+library Prefix3NegativeTest.dart;
+import "library1.dart" as lib2; // defines 'foo'.
+import "library2.dart" as lib2; // also defines 'foo'.
main() {
« no previous file with comments | « tests/language/prefix2_negative_test.dart ('k') | tests/language/prefix4_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698