Commit 5b6ebf12 authored by Sam Rawlins's avatar Sam Rawlins Committed by Michael Goderbauer

Add type to StreamChannel in generated test code. (#35367)

This is necessary for those who wish to comply with static analysis like
`strict-raw-types: true`, which includes generated code within their package.
parent f85630b1
......@@ -210,7 +210,7 @@ void main() {
print('$_kStartTimeoutTimerMessage');
String serverPort = Platform.environment['SERVER_PORT'];
String server = Uri.decodeComponent('$encodedWebsocketUrl:\$serverPort');
StreamChannel channel = serializeSuite(() {
StreamChannel<dynamic> channel = serializeSuite(() {
catchIsolateErrors();
goldenFileComparator = new LocalFileComparator(Uri.parse('$testUrl'));
autoUpdateGoldenFiles = $updateGoldens;
......
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