Skip to content

Commit 0fe14a0

Browse files
committed
fix windows CI worktree path assertion
1 parent 3544969 commit 0fe14a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/SharpClaw.Code.UnitTests/MemorySkillsGit/MemorySkillsGitServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public async Task GitWorkspaceService_should_detect_linked_worktree_main_path()
135135
var snapshot = await service.GetSnapshotAsync("/repo-linked", CancellationToken.None);
136136

137137
snapshot.IsLinkedWorktree.Should().BeTrue();
138-
snapshot.MainWorktreePath.Should().Be("/repo");
138+
Path.GetFullPath(snapshot.MainWorktreePath!).Should().Be(Path.GetFullPath("/repo"));
139139
snapshot.WorktreeCount.Should().Be(2);
140140
}
141141

0 commit comments

Comments
 (0)