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
|
@ -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/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue