| 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 // Dart test for reading escape sequences in string literals | 4 // Dart test for reading escape sequences in string literals |
| 5 | 5 |
| 6 class CharEscapeTest { | 6 class CharEscapeTest { |
| 7 static testMain() { | 7 static testMain() { |
| 8 var x00 = "\x00"; | 8 var x00 = "\x00"; |
| 9 var u0000 = "\u0000"; | 9 var u0000 = "\u0000"; |
| 10 var v0 = "\u{0}"; | 10 var v0 = "\u{0}"; |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 Expect.equals("\W", "W"); | 522 Expect.equals("\W", "W"); |
| 523 Expect.equals("\X", "X"); | 523 Expect.equals("\X", "X"); |
| 524 Expect.equals("\Y", "Y"); | 524 Expect.equals("\Y", "Y"); |
| 525 Expect.equals("\Z", "Z"); | 525 Expect.equals("\Z", "Z"); |
| 526 } | 526 } |
| 527 } | 527 } |
| 528 | 528 |
| 529 main() { | 529 main() { |
| 530 CharEscapeTest.testMain(); | 530 CharEscapeTest.testMain(); |
| 531 } | 531 } |
| OLD | NEW |