Index: tests/html/blob_constructor_test.dart |
diff --git a/tests/html/blob_constructor_test.dart b/tests/html/blob_constructor_test.dart |
index 93336f712d3133db2106ecbec9c8d1f21213d9c1..480ab88b24e98d250166aab720445dda48b2dd75 100644 |
--- a/tests/html/blob_constructor_test.dart |
+++ b/tests/html/blob_constructor_test.dart |
@@ -6,6 +6,7 @@ library blob_test; |
import '../../pkg/unittest/lib/unittest.dart'; |
import '../../pkg/unittest/lib/html_config.dart'; |
import 'dart:html'; |
+import 'dart:typeddata'; |
main() { |
useHtmlConfiguration(); |
@@ -55,7 +56,7 @@ main() { |
}); |
test('fromArrayBuffer', () { |
- var a = new Uint8Array(100).buffer; // i.e. new ArrayBuffer(100); |
+ var a = new Uint8List(100).buffer; // i.e. new ArrayBuffer(100); |
var b = new Blob([a, a]); |
expect(b.size, 200); |
}); |