(t *testing.T)
| 127 | } |
| 128 | |
| 129 | func TestValidateCodeResponseNoCode(t *testing.T) { |
| 130 | q := ValidateCodeResponse("This is just text, no code here.") |
| 131 | if q.HasCode { |
| 132 | t.Error("should not detect code in plain text") |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | func TestEnhanceSystemPromptCoding(t *testing.T) { |
| 137 | base := "You are an assistant." |
nothing calls this directly
no test coverage detected