add missing trailing commas in list/set/map literals (#102585)
This commit is contained in:
committed by
GitHub
parent
0b80f08cf0
commit
07f1c20474
@@ -18,7 +18,7 @@ void writeCustomDevicesConfigFile(
|
||||
<String, dynamic>{
|
||||
'custom-devices': configs != null ?
|
||||
configs.map<dynamic>((CustomDeviceConfig c) => c.toJson()).toList() :
|
||||
json
|
||||
json,
|
||||
},
|
||||
));
|
||||
}
|
||||
@@ -58,5 +58,5 @@ const Map<String, dynamic> testConfigJson = <String, dynamic>{
|
||||
'uninstall': <String>['testuninstall'],
|
||||
'runDebug': <String>['testrundebug'],
|
||||
'forwardPort': <String>['testforwardport'],
|
||||
'forwardPortSuccessRegex': 'testforwardportsuccess'
|
||||
'forwardPortSuccessRegex': 'testforwardportsuccess',
|
||||
};
|
||||
|
||||
@@ -28,8 +28,8 @@ List<FakeDeviceJsonData> fakeDevices = <FakeDeviceJsonData>[
|
||||
'fastStart': false,
|
||||
'flutterExit': true,
|
||||
'hardwareRendering': true,
|
||||
'startPaused': true
|
||||
}
|
||||
'startPaused': true,
|
||||
},
|
||||
}
|
||||
),
|
||||
FakeDeviceJsonData(
|
||||
@@ -50,9 +50,9 @@ List<FakeDeviceJsonData> fakeDevices = <FakeDeviceJsonData>[
|
||||
'fastStart': false,
|
||||
'flutterExit': true,
|
||||
'hardwareRendering': true,
|
||||
'startPaused': true
|
||||
}
|
||||
}
|
||||
'startPaused': true,
|
||||
},
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ class FakeVmServiceHost {
|
||||
'error': <String, Object?>{
|
||||
'code': fakeRequest.errorCode,
|
||||
'message': 'error',
|
||||
}
|
||||
},
|
||||
}));
|
||||
}
|
||||
_applyStreamListen();
|
||||
|
||||
@@ -22,7 +22,7 @@ class FakeDyldEnvironmentArtifact extends ArtifactSet {
|
||||
FakeDyldEnvironmentArtifact() : super(DevelopmentArtifact.iOS);
|
||||
@override
|
||||
Map<String, String> get environment => <String, String>{
|
||||
'DYLD_LIBRARY_PATH': '/path/to/libraries'
|
||||
'DYLD_LIBRARY_PATH': '/path/to/libraries',
|
||||
};
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user