Unverified Commit c6c451ee authored by Dan Field's avatar Dan Field Committed by GitHub

Just use string interpolation for ws url for tests (#138235)

Follows up on https://github.com/flutter/flutter/pull/137969 - we don't
need decodeComponent here
parent c245bd89
......@@ -211,8 +211,8 @@ void catchIsolateErrors() {
}
void main() {
String serverPort = Platform.environment['SERVER_PORT'] ?? '';
String server = Uri.decodeComponent('$websocketUrl:\$serverPort');
final String serverPort = Platform.environment['SERVER_PORT'] ?? '';
final String server = '$websocketUrl:\$serverPort';
StreamChannel<dynamic> testChannel = serializeSuite(() {
catchIsolateErrors();
''');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment