(t *testing.T)
| 5 | ) |
| 6 | |
| 7 | func TestParseLineCodex_threadStarted(t *testing.T) { |
| 8 | line := `{"type":"thread.started","thread_id":"0199a213-81c0-7800-8aa1-bbab2a035a53"}` |
| 9 | ev := ParseLineCodex(line) |
| 10 | if ev == nil { |
| 11 | t.Fatal("expected event, got nil") |
| 12 | } |
| 13 | if ev.Type != EventIterationStart { |
| 14 | t.Errorf("expected EventIterationStart, got %v", ev.Type) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func TestParseLineCodex_turnStarted(t *testing.T) { |
| 19 | line := `{"type":"turn.started"}` |
nothing calls this directly
no test coverage detected