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

Side by Side Diff: tests/vm/dart/import_map_test.dart

Issue 10911025: Get rid of support for string interpolation in #import strings. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/dart_api.h ('k') | tests/vm/dart/mysrc/test2.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4 //
5 // VMOptions=--import_map=GOOGLE,. --import_map=SRC,mysrc --import_map=DART,.
6 //
7 // Dart test program for checking implementation of string
8 // interapolation feature in import statements.
9
10 #library('test1.dart');
11
12 #import('${GOOGLE}/$SRC/test2.dart');
13 #import('$SRC/test3.dart');
14
15 int test1() {
16 return 1;
17 }
18
19 main() {
20 var result = test1() + test2() + test3();
21 Expect.equals(6, result);
22 }
OLDNEW
« no previous file with comments | « include/dart_api.h ('k') | tests/vm/dart/mysrc/test2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698