Audit TODO syntax (#20837)

Fixes the pattern for some TODOs to match our style guide.

(Also, a couple of minor code order fixes.)
This commit is contained in:
Ian Hickson
2018-08-21 14:02:11 -07:00
committed by GitHub
parent adafaee0e3
commit b7261586e5
22 changed files with 38 additions and 41 deletions

View File

@@ -399,7 +399,7 @@ class IosDeviceDiscovery implements DeviceDiscovery {
Future<Map<String, HealthCheckResult>> checkDevices() async {
final Map<String, HealthCheckResult> results = <String, HealthCheckResult>{};
for (String deviceId in await discoverDevices()) {
// TODO: do a more meaningful connectivity check than just recording the ID
// TODO(ianh): do a more meaningful connectivity check than just recording the ID
results['ios-device-$deviceId'] = new HealthCheckResult.success();
}
return results;

View File

@@ -9,7 +9,7 @@ import 'keys.dart' as keys;
void main() {
enableFlutterDriverExtension(handler: (String message) async {
// TODO(cbernaschina) remove when test flakiness is resolved
// TODO(cbernaschina): remove when test flakiness is resolved
return 'keyboard_resize';
});
runApp(new MyApp());