mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: no implicit casts and dynamic
This commit is contained in:
parent
7b14ee6b9b
commit
f3fbc80f8e
11 changed files with 49 additions and 36 deletions
|
@ -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>[]);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue