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

Unified Diff: tests/html/postmessage_structured_test.dart

Issue 13845015: Update tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | tests/html/typed_arrays_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/postmessage_structured_test.dart
diff --git a/tests/html/postmessage_structured_test.dart b/tests/html/postmessage_structured_test.dart
index fbba34b6f63cdaaedd00ca5c1c66c959f8c93e50..3cc6f6189a14949ef6087303a12ff99b41e4c7a6 100644
--- a/tests/html/postmessage_structured_test.dart
+++ b/tests/html/postmessage_structured_test.dart
@@ -137,7 +137,7 @@ main() {
});
group('typed_arrays', () {
- var array_buffer = new ByteBuffer(16);
+ var array_buffer = new Uint8List(16);
var view_a = new Float32List.view(array_buffer, 0, 4);
var view_b = new Uint8List.view(array_buffer, 1, 13);
var typed_arrays_list = [view_a, array_buffer, view_b];
« no previous file with comments | « no previous file | tests/html/typed_arrays_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698