(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestParseLineCodex_turnStarted(t *testing.T) { |
| 19 | line := `{"type":"turn.started"}` |
| 20 | ev := ParseLineCodex(line) |
| 21 | if ev == nil { |
| 22 | t.Fatal("expected event, got nil") |
| 23 | } |
| 24 | if ev.Type != EventIterationStart { |
| 25 | t.Errorf("expected EventIterationStart, got %v", ev.Type) |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | func TestParseLineCodex_commandExecutionStarted(t *testing.T) { |
| 30 | line := `{"type":"item.started","item":{"id":"item_1","type":"command_execution","command":"bash -lc ls","aggregated_output":"","exit_code":null,"status":"in_progress"}}` |
nothing calls this directly
no test coverage detected