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

Unified Diff: test/html_test.dart

Issue 1959433002: Fix all strong-mode errors and warnings. (Closed) Base URL: git@github.com:dart-lang/web_socket_channel.git@master
Patch Set: Created 4 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
« no previous file with comments | « pubspec.yaml ('k') | test/web_socket_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « pubspec.yaml ('k') | test/web_socket_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698