Prefer const constructors (#11853)

* upgrade to linter-0.1.35

* re-enable lint prefer_const_constructors

* address review comments
This commit is contained in:
Alexandre Ardhuin
2017-08-31 08:55:21 +02:00
committed by GitHub
parent f0bf7b5c8c
commit bb4f4070f9
25 changed files with 172 additions and 158 deletions

View File

@@ -98,7 +98,7 @@ void main() {
if (result != 0)
throw 'Received unexpected exit code $result from run process.';
print('test: validating that the app has in fact closed...');
await client.done.timeout(new Duration(seconds: 5));
await client.done.timeout(const Duration(seconds: 5));
});
return new TaskResult.success(null);
});