Index: tests/html/form_data_test.dart |
diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart |
index a8b96fd43b14ca8630923d0af8fb10e9cfd8882f..cdcca7e76abaf21d5638912c48443a1510a9727c 100644 |
--- a/tests/html/form_data_test.dart |
+++ b/tests/html/form_data_test.dart |
@@ -59,7 +59,7 @@ void main() { |
form.append('theBlob', blob, 'theBlob.txt'); |
var xhr = new HttpRequest(); |
- xhr.open("POST", "http://localhost:9876/echo"); |
+ xhr.open("POST", "http://localhost:${window.location.port}/echo"); |
xhr.on.load.add(expectAsync1((e) { |
expect(xhr.responseText.contains(blobString), true); |