style: no implicit casts and dynamic

This commit is contained in:
Aleksey Kulikov 2021-10-22 17:25:06 +03:00
parent 7b14ee6b9b
commit f3fbc80f8e
11 changed files with 49 additions and 36 deletions

View file

@ -199,7 +199,7 @@ void main() {
});
test('returns empty list if multivar not found', () {
expect(config.multivar(variable: 'not.there'), []);
expect(config.multivar(variable: 'not.there'), <String>[]);
});
});
@ -249,7 +249,7 @@ void main() {
variable: 'core.gitproxy',
regexp: 'for kernel.org\$',
),
[],
<String>[],
);
});
@ -265,7 +265,7 @@ void main() {
config.deleteMultivar(variable: 'core.gitproxy', regexp: '');
expect(config.multivar(variable: 'core.gitproxy'), []);
expect(config.multivar(variable: 'core.gitproxy'), <String>[]);
});
});