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

Unified Diff: tests/vm/src/test1.dart

Issue 9359009: Implement support for specifying string interopolation style variable substitution in the import ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 8 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/vm/src/mysrc/test3a.dart ('k') | vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/vm/src/test1.dart
===================================================================
--- tests/vm/src/test1.dart (revision 0)
+++ tests/vm/src/test1.dart (revision 0)
@@ -0,0 +1,22 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// 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.
+//
+// VMOptions=--import_map=GOOGLE,. --import_map=SRC,mysrc --import_map=DART,.
+//
+// Dart test program for checking implementation of string
+// interapolation feature in import statements.
+
+#library('test1.dart');
+
+#import('${GOOGLE}/$SRC/test2.dart');
+#import('$SRC/test3.dart');
+
+int test1() {
+ return 1;
+}
+
+main() {
+ var result = test1() + test2() + test3();
+ Expect.equals(6, result);
+}
« no previous file with comments | « tests/vm/src/mysrc/test3a.dart ('k') | vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698