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
This commit is contained in:
@@ -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();
|
||||
''');
|
||||
|
||||
Reference in New Issue
Block a user