Skip to content

Commit f0d684d

Browse files
committed
Revert unintentional change from dart2wasm testing
1 parent e380a06 commit f0d684d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sqlite_async/test/utils/web_test_utils.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TestUtils extends AbstractTestUtils {
1919

2020
Future<void> _init() async {
2121
final channel = spawnHybridUri('/test/server/worker_server.dart');
22-
final port = (await channel.stream.first as num).toInt();
22+
final port = await channel.stream.first as int;
2323
final sqliteWasmUri = 'http://localhost:$port/sqlite3.wasm';
2424
// Cross origin workers are not supported, but we can supply a Blob
2525
var sqliteUri = 'http://localhost:$port/db_worker.js';

0 commit comments

Comments
 (0)