Prefer const constructors (#11853)
* upgrade to linter-0.1.35 * re-enable lint prefer_const_constructors * address review comments
This commit is contained in:
committed by
GitHub
parent
f0bf7b5c8c
commit
bb4f4070f9
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user