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

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

Issue 12533003: Fix zlib test on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/zlib_test.dart
diff --git a/tests/standalone/io/zlib_test.dart b/tests/standalone/io/zlib_test.dart
index fff749a5bb5dbd7cc7898b3a3647df6a6b60c487..b637db476e8f48f35335e3b6e9dd9af6810595cd 100644
--- a/tests/standalone/io/zlib_test.dart
+++ b/tests/standalone/io/zlib_test.dart
@@ -58,9 +58,11 @@ void testZLibDeflateGZip() {
return buffer;
})
.then((data) {
- Expect.listEquals([31, 139, 8, 0, 0, 0, 0, 0, 0, 3, 98, 96, 100, 98,
- 102, 97, 101, 99, 231, 224, 4, 0, 0, 0, 255, 255],
- data);
+ Expect.equals(26, data.length);
+ Expect.listEquals([98, 96, 100, 98, 102, 97, 101, 99, 231, 224, 4, 0, 0,
+ 0, 255, 255],
+ // Skip header, as it can change.
+ data.getRange(10, 16));
port.close();
});
controller.add(data);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698