| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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 main() { | 5 main() { |
| 6 { | 6 { |
| 7 // Generates identical compile time constants. | 7 // Generates identical compile time constants. |
| 8 var s1 = "abcdefgh"; | 8 var s1 = "abcdefgh"; |
| 9 var s2 = "abcd" "efgh"; | 9 var s2 = "abcd" "efgh"; |
| 10 var s3 = "ab" "cd" "ef" "gh"; | 10 var s3 = "ab" "cd" "ef" "gh"; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 Expect.equals(@"-foo-42-true-", | 102 Expect.equals(@"-foo-42-true-", |
| 103 @"-" "$x" @"""-""" """$y""" @'-' '$z' @'''-''', "j"); | 103 @"-" "$x" @"""-""" """$y""" @'-' '$z' @'''-''', "j"); |
| 104 Expect.equals(@"-$x-42-true-", | 104 Expect.equals(@"-$x-42-true-", |
| 105 @"-" @"$x" @"""-""" """$y""" @'-' '$z' @'''-''', "k"); | 105 @"-" @"$x" @"""-""" """$y""" @'-' '$z' @'''-''', "k"); |
| 106 Expect.equals(@"-foo-$y-true-", | 106 Expect.equals(@"-foo-$y-true-", |
| 107 @"-" "$x" @"""-""" @"""$y""" @'-' '$z' @'''-''', "l"); | 107 @"-" "$x" @"""-""" @"""$y""" @'-' '$z' @'''-''', "l"); |
| 108 Expect.equals(@"-foo-42-$z-", | 108 Expect.equals(@"-foo-42-$z-", |
| 109 @"-" "$x" @"""-""" """$y""" @'-' @'$z' @'''-''', "m"); | 109 @"-" "$x" @"""-""" """$y""" @'-' @'$z' @'''-''', "m"); |
| 110 } | 110 } |
| 111 } | 111 } |
| OLD | NEW |