| OLD | NEW |
| (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 } |
| OLD | NEW |