mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
style: stricter linting
This commit is contained in:
parent
f3fbc80f8e
commit
4717aab57f
84 changed files with 773 additions and 653 deletions
|
@ -118,7 +118,7 @@ void main() {
|
|||
expect(config['core.bare'].value, 'false');
|
||||
});
|
||||
|
||||
test('throws when variable isn\'t found', () {
|
||||
test("throws when variable isn't found", () {
|
||||
expect(
|
||||
() => config['not.there'],
|
||||
throwsA(
|
||||
|
@ -192,7 +192,7 @@ void main() {
|
|||
expect(
|
||||
config.multivar(
|
||||
variable: 'core.gitproxy',
|
||||
regexp: 'for kernel.org\$',
|
||||
regexp: r'for kernel.org$',
|
||||
),
|
||||
['proxy-command for kernel.org'],
|
||||
);
|
||||
|
@ -234,20 +234,20 @@ void main() {
|
|||
expect(
|
||||
config.multivar(
|
||||
variable: 'core.gitproxy',
|
||||
regexp: 'for kernel.org\$',
|
||||
regexp: r'for kernel.org$',
|
||||
),
|
||||
['proxy-command for kernel.org'],
|
||||
);
|
||||
|
||||
config.deleteMultivar(
|
||||
variable: 'core.gitproxy',
|
||||
regexp: 'for kernel.org\$',
|
||||
regexp: r'for kernel.org$',
|
||||
);
|
||||
|
||||
expect(
|
||||
config.multivar(
|
||||
variable: 'core.gitproxy',
|
||||
regexp: 'for kernel.org\$',
|
||||
regexp: r'for kernel.org$',
|
||||
),
|
||||
<String>[],
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue