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

Unified Diff: tests/language/closure_type_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
Index: tests/language/closure_type_test.dart
===================================================================
--- tests/language/closure_type_test.dart (revision 15598)
+++ tests/language/closure_type_test.dart (working copy)
@@ -4,8 +4,8 @@
// Dart test for a closure result type test that cannot be eliminated at compile
// time.
-#library('closure_type_test');
-#import('dart:math', prefix: 'math');
+library closure_type_test;
+import 'dart:math' as math;
class Math {
static int sqrt(x) => math.sqrt(x);
« no previous file with comments | « tests/language/call_constructor_on_unresolvable_class_test.dart ('k') | tests/language/const_var_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698