prefer_const_declarations on local variables (#14358)

This commit is contained in:
Alexandre Ardhuin
2018-02-01 07:51:26 +01:00
committed by GitHub
parent b0e17949aa
commit 841d5d7bd5
129 changed files with 791 additions and 791 deletions

View File

@@ -15,7 +15,7 @@ import '../src/context.dart';
void main() {
group('android_device', () {
testUsingContext('stores the requested id', () {
final String deviceId = '1234';
const String deviceId = '1234';
final AndroidDevice device = new AndroidDevice(deviceId);
expect(device.id, deviceId);
});