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.
This commit is contained in:
committed by
Michael Goderbauer
parent
f85630b18a
commit
5b6ebf1230
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user