Index: test/html_test.dart |
diff --git a/test/html_test.dart b/test/html_test.dart |
index f5c355506ddf9d3e3fdd9fb424b212214e4720dd..9954eb6b118911ac9c31c45a587b00afadb10656 100644 |
--- a/test/html_test.dart |
+++ b/test/html_test.dart |
@@ -17,6 +17,7 @@ import 'package:async/async.dart'; |
import 'package:test/test.dart'; |
import 'package:web_socket_channel/html.dart'; |
+import 'package:web_socket_channel/web_socket_channel.dart'; |
void main() { |
var channel; |
@@ -88,5 +89,5 @@ Future<List<int>> _decodeBlob(Blob blob) async { |
var reader = new FileReader(); |
reader.readAsArrayBuffer(blob); |
await reader.onLoad.first; |
- return reader.result; |
+ return reader.result as Uint8List; |
} |