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

Unified Diff: tests/compiler/dart2js_extra/math_lib_prefix_test.dart

Issue 11368150: Updated tests/compiler/* to use new library syntax. (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
Index: tests/compiler/dart2js_extra/math_lib_prefix_test.dart
===================================================================
--- tests/compiler/dart2js_extra/math_lib_prefix_test.dart (revision 14690)
+++ tests/compiler/dart2js_extra/math_lib_prefix_test.dart (working copy)
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#library("math_lib_prefix_test");
-#import("dart:math", prefix: "foo");
+library math_lib_prefix_test;
+import 'dart:math' as foo;
main() {
Expect.equals(2.0, foo.sqrt(4));
« no previous file with comments | « tests/compiler/dart2js_extra/inline_position_crash_test.dart ('k') | tests/compiler/dart2js_extra/math_lib_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698