mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
test: fix tests failing on windows
This commit is contained in:
parent
59cf7174f6
commit
d86617d58b
3 changed files with 15 additions and 12 deletions
|
@ -31,7 +31,7 @@ void main() {
|
|||
test('creates new standard repo at provided path', () {
|
||||
repo = Repository.init(path: initDir.path);
|
||||
|
||||
expect(repo.path, contains(p.join('init_repo', '.git')));
|
||||
expect(repo.path, contains('init_repo/.git/'));
|
||||
expect(repo.isBare, false);
|
||||
expect(repo.isEmpty, true);
|
||||
});
|
||||
|
@ -44,7 +44,7 @@ void main() {
|
|||
flags: {GitRepositoryInit.mkdir, GitRepositoryInit.mkpath},
|
||||
);
|
||||
|
||||
expect(repo.path, contains(p.join('init_repo', '.git')));
|
||||
expect(repo.path, contains('init_repo/.git/'));
|
||||
expect(repo.isBare, false);
|
||||
expect(repo.isEmpty, true);
|
||||
expect(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue