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

Unified Diff: tests/standalone/io/string_decoder_test.dart

Issue 14696012: Make web-socket pass AutobanhTestSuite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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: tests/standalone/io/string_decoder_test.dart
diff --git a/tests/standalone/io/string_decoder_test.dart b/tests/standalone/io/string_decoder_test.dart
index d5c3da19cd54b329cc25e60e2f5627d63aa548de..975e1ccf23b36aaaf88986c0a4ef77bbf32e956c 100644
--- a/tests/standalone/io/string_decoder_test.dart
+++ b/tests/standalone/io/string_decoder_test.dart
@@ -26,7 +26,7 @@ void test() {
})
.then((b) => b.toString())
.then((decoded) {
- Expect.equals(7, decoded.length);
+ Expect.equals(8, decoded.length);
var replacementChar = '?'.codeUnitAt(0);
Expect.equals(0xd800, decoded.codeUnitAt(0));
@@ -36,6 +36,7 @@ void test() {
Expect.equals(replacementChar, decoded.codeUnitAt(4));
Expect.equals(replacementChar, decoded.codeUnitAt(5));
Expect.equals(replacementChar, decoded.codeUnitAt(6));
+ Expect.equals(replacementChar, decoded.codeUnitAt(7));
});
}

Powered by Google App Engine
This is Rietveld 408576698