prefer_const_declarations on local variables (#14358)
This commit is contained in:
committed by
GitHub
parent
b0e17949aa
commit
841d5d7bd5
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user