Skip to content

Commit 21e0cf7

Browse files
committed
fix(test): fix litecoin mweb test
1 parent a7c414e commit 21e0cf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/testing/test_suites/litecoin_mweb_integration_test_suite.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ class LitecoinMwebIntegrationTestSuite implements TestSuiteInterface {
282282
}
283283

284284
// Helper function to get a random unused port.
285-
Future<int?> _getRandomUnusedPort({Set<int> excluded = const {}}) async {
285+
Future<int?> _getRandomUnusedPort({Set<int>? excluded}) async {
286+
excluded ??= <int>{};
286287
const int minPort = 1024;
287288
const int maxPort = 65535;
288289
const int maxAttempts = 100;

0 commit comments

Comments
 (0)