fix: CI test failures on Windows
- TestVersionChangesCoverage: Add missing 3rd changelog entry for v0.25.1 - TestDefaultPath: Use filepath.Join for cross-platform path handling - TestDebouncer_CancelWithNoPendingAction: Increase sleep from 60ms to 100ms to account for Windows timer imprecision 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -282,8 +282,9 @@ func TestWriteDeletions_CreatesDirectory(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestDefaultPath(t *testing.T) {
|
||||
path := DefaultPath("/home/user/project/.beads")
|
||||
expected := "/home/user/project/.beads/deletions.jsonl"
|
||||
beadsDir := filepath.Join("home", "user", "project", ".beads")
|
||||
path := DefaultPath(beadsDir)
|
||||
expected := filepath.Join(beadsDir, "deletions.jsonl")
|
||||
if path != expected {
|
||||
t.Errorf("expected %s, got %s", expected, path)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user