Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1120)

Side by Side Diff: tests/language_2/char_escape_test.dart

Issue 2996533003: Migrate language block 46 - canonical_const ... char_escape. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698