(t *testing.T)
| 66 | } |
| 67 | |
| 68 | func TestIsInjectedID(t *testing.T) { |
| 69 | if IsInjectedID("call_abc123") { |
| 70 | t.Error("should not match regular ID") |
| 71 | } |
| 72 | if !IsInjectedID("call_cpa_inject_deadbeef") { |
| 73 | t.Error("should match injected ID") |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | func TestShouldInject_OpenAI_Match(t *testing.T) { |
| 78 | rawJSON := []byte(`{ |
nothing calls this directly
no test coverage detected