re-enable lint unnecessary_const (#19592)

* re-enable lint unnecessary_const

* remove trailling whitespaces

* remove unnecessary const (after merge)
This commit is contained in:
Alexandre Ardhuin
2018-07-23 08:31:48 +02:00
committed by GitHub
parent 1cb2677234
commit 27018359d2
560 changed files with 40983 additions and 40982 deletions

View File

@@ -299,7 +299,7 @@ void main() {
});
test('verify timeout fires', () async {
const Duration timeoutTime = const Duration(milliseconds: 100);
const Duration timeoutTime = Duration(milliseconds: 100);
Future<json_rpc.Peer> mockVmConnectionFunction(Uri uri) {
// Return a command that will never complete.
when(mockPeer.sendRequest(any, any))