| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Test that String interpolation works in the code generated by the leg | 5 // Test that String interpolation works in the code generated by the leg |
| 6 // compiler. | 6 // compiler. |
| 7 | 7 |
| 8 | 8 |
| 9 int ifun() => 37; | 9 int ifun() => 37; |
| 10 double dfun() => 2.71828; | 10 double dfun() => 2.71828; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 // Lotsa-nested. | 117 // Lotsa-nested. |
| 118 Expect.equals("42", "${'${"${'${"${'${"$b"}'}"}'}"}'}"); | 118 Expect.equals("42", "${'${"${'${"${'${"$b"}'}"}'}"}'}"); |
| 119 } | 119 } |
| 120 | 120 |
| 121 | 121 |
| 122 void main() { | 122 void main() { |
| 123 testSimple(); | 123 testSimple(); |
| 124 testMultiLine(); | 124 testMultiLine(); |
| 125 testEscapes(); | 125 testEscapes(); |
| 126 } | 126 } |
| OLD | NEW |