| 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 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
| 7 | 7 |
| 8 class CharEscapeTest { | 8 class CharEscapeTest { |
| 9 static testMain() { | 9 static testMain() { |
| 10 var x00 = "\x00"; | 10 var x00 = "\x00"; |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 Expect.equals("\W", "W"); | 524 Expect.equals("\W", "W"); |
| 525 Expect.equals("\X", "X"); | 525 Expect.equals("\X", "X"); |
| 526 Expect.equals("\Y", "Y"); | 526 Expect.equals("\Y", "Y"); |
| 527 Expect.equals("\Z", "Z"); | 527 Expect.equals("\Z", "Z"); |
| 528 } | 528 } |
| 529 } | 529 } |
| 530 | 530 |
| 531 main() { | 531 main() { |
| 532 CharEscapeTest.testMain(); | 532 CharEscapeTest.testMain(); |
| 533 } | 533 } |
| OLD | NEW |