Skip to content

Commit 34a87fb

Browse files
committed
Fixed WASM runtime v5
1 parent c144307 commit 34a87fb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkgs/http/test/html/cache_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void main() {
1919
late Uri url;
2020
setUp(() async {
2121
final channel = spawnHybridUri(Uri(path: '/test/stub_server.dart'));
22-
var port = await (channel.stream.first as num).toInt();
22+
var port = (await channel.stream.first as num).toInt();
2323
url = echoUrl.replace(port: port);
2424
});
2525

pkgs/http/test/html/client_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void main() {
1818
setUpAll(() async {
1919
final channel =
2020
spawnHybridUri(Uri(path: '/test/stub_server.dart'), stayAlive: true);
21-
port = await (channel.stream.first as num).toInt();
21+
port = (await channel.stream.first as num).toInt();
2222
});
2323

2424
test('#send a StreamedRequest', () async {

pkgs/http/test/html/streamed_request_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void main() {
1818
setUpAll(() async {
1919
final channel =
2020
spawnHybridUri(Uri(path: '/test/stub_server.dart'), stayAlive: true);
21-
var port = await (channel.stream.first as num).toInt();
21+
var port = (await channel.stream.first as num).toInt();
2222
url = echoUrl.replace(port: port);
2323
});
2424
group('contentLength', () {

0 commit comments

Comments
 (0)