From 5eefec7eaea841011f5ade45dfd1399f4eba56f6 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Fri, 21 Nov 2025 23:05:41 -0800 Subject: [PATCH] Fix TestFindJSONLPathDefault to expect beads.jsonl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates test and documentation to reflect the intentional change from issues.jsonl to beads.jsonl (commit 7b865eb from Nov 20, 2025). Fixes GH #356 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- internal/beads/beads.go | 2 +- internal/beads/beads_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/beads/beads.go b/internal/beads/beads.go index 28b1b3a2..aaf57497 100644 --- a/internal/beads/beads.go +++ b/internal/beads/beads.go @@ -222,7 +222,7 @@ func FindBeadsDir() string { // FindJSONLPath returns the expected JSONL file path for the given database path. // It searches for existing *.jsonl files in the database directory and returns -// the first one found, or defaults to "issues.jsonl". +// the first one found, or defaults to "beads.jsonl". // // This function does not create directories or files - it only discovers paths. // Use this when you need to know where bd stores its JSONL export. diff --git a/internal/beads/beads_test.go b/internal/beads/beads_test.go index c538a597..4432086c 100644 --- a/internal/beads/beads_test.go +++ b/internal/beads/beads_test.go @@ -168,9 +168,9 @@ func TestFindJSONLPathDefault(t *testing.T) { // Create a fake database path (no .jsonl files exist) dbPath := filepath.Join(tmpDir, "test.db") - // Should return default issues.jsonl + // Should return default beads.jsonl result := FindJSONLPath(dbPath) - expected := filepath.Join(tmpDir, "issues.jsonl") + expected := filepath.Join(tmpDir, "beads.jsonl") if result != expected { t.Errorf("Expected '%s', got '%s'", expected, result) }