mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
test: fix tests failing on windows
This commit is contained in:
parent
bed8db3a12
commit
0f6a916d8b
7 changed files with 24 additions and 28 deletions
|
@ -41,7 +41,7 @@ void main() {
|
|||
expect(repo.worktrees, [worktreeName]);
|
||||
expect(branches.any((branch) => branch.name == worktreeName), true);
|
||||
expect(worktree.name, worktreeName);
|
||||
expect(worktree.path, contains(worktreeDir.path));
|
||||
expect(worktree.path, contains('/worktree'));
|
||||
expect(worktree.isLocked, false);
|
||||
expect(worktree.toString(), contains('Worktree{'));
|
||||
expect(File('${worktreeDir.path}/.git').existsSync(), true);
|
||||
|
@ -113,7 +113,7 @@ void main() {
|
|||
final lookedupWorktree = repo.lookupWorktree(worktreeName);
|
||||
|
||||
expect(lookedupWorktree.name, worktreeName);
|
||||
expect(lookedupWorktree.path, contains(worktreeDir.path));
|
||||
expect(lookedupWorktree.path, contains('/worktree'));
|
||||
expect(lookedupWorktree.isLocked, false);
|
||||
|
||||
lookedupWorktree.free();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue