(t *testing.T)
| 46 | } |
| 47 | |
| 48 | func TestGetPrompt_NoFileReadInstruction(t *testing.T) { |
| 49 | prompt := GetPrompt("/path/progress.md", `{"id":"US-001"}`, "US-001", "Test Story") |
| 50 | |
| 51 | // The prompt should NOT instruct Claude to read the PRD file |
| 52 | if strings.Contains(prompt, "Read the PRD") { |
| 53 | t.Error("Expected prompt to NOT contain 'Read the PRD' file-read instruction") |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | func TestPromptTemplateNotEmpty(t *testing.T) { |
| 58 | if promptTemplate == "" { |
nothing calls this directly
no test coverage detected