style: stricter linting

This commit is contained in:
Aleksey Kulikov 2021-10-23 12:31:18 +03:00
parent f3fbc80f8e
commit 4717aab57f
84 changed files with 773 additions and 653 deletions

View file

@ -8,7 +8,7 @@ void main() {
late Repository repo;
group('Repository.open', () {
test('throws when repository isn\'t found at provided path', () {
test("throws when repository isn't found at provided path", () {
expect(
() => Repository.open(''),
throwsA(isA<LibGit2Error>()),
@ -71,7 +71,7 @@ void main() {
);
});
test('returns path to parent repo\'s .git folder for the repository', () {
test("returns path to parent repo's .git folder for the repository", () {
expect(
repo.commonDir,
'${Directory.current.path}/test/assets/empty_standard/.gitdir/',