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

Unified Diff: frog/tests/leg_only/src/StringEscapeTest.dart

Issue 9271037: Inserted string validation as separate task in compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments. Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: frog/tests/leg_only/src/StringEscapeTest.dart
diff --git a/frog/tests/leg_only/src/StringEscapeTest.dart b/frog/tests/leg_only/src/StringEscapeTest.dart
index 83aacb6efdf05877029b1ed5b2d167356668b93e..175b06f0202397ab12540ab51d9874a99ea562fb 100644
--- a/frog/tests/leg_only/src/StringEscapeTest.dart
+++ b/frog/tests/leg_only/src/StringEscapeTest.dart
@@ -64,11 +64,10 @@ testUEscapes() {
}
// No characters above 0xffff until Leg supports that.
var long =
- "\u{0}\u{00}\u{000}\u{0000}\u{00000}\u{000000}\u{0000000}" +
+ "\u{0}\u{00}\u{000}\u{0000}\u{00000}\u{000000}" +
"\u{1}\u{01}\u{001}\u{00001}" +
- "\u{ffff}\u{0ffff}\u{00ffff}\u{000ffff}";
- var longValues = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1,
- 0xffff, 0xffff, 0xffff, 0xffff];
+ "\u{ffff}\u{0ffff}\u{00ffff}";
+ var longValues = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0xffff, 0xffff, 0xffff];
Expect.equals(longValues.length, long.length);
for (int i = 0; i < longValues.length; i++) {
Expect.equals(longValues[i], long.charCodeAt(i));

Powered by Google App Engine
This is Rietveld 408576698