(t *testing.T)
| 176 | } |
| 177 | |
| 178 | func TestGetMessages_Instructions(t *testing.T) { |
| 179 | t.Parallel() |
| 180 | |
| 181 | testAgent := agent.New("root", "instructions") |
| 182 | |
| 183 | s := New() |
| 184 | messages := s.GetMessages(testAgent) |
| 185 | |
| 186 | assert.Len(t, messages, 1) |
| 187 | assert.Equal(t, "instructions", messages[0].Content) |
| 188 | assert.True(t, messages[0].CacheControl) |
| 189 | } |
| 190 | |
| 191 | func TestGetMessages_CacheControl(t *testing.T) { |
| 192 | t.Parallel() |
nothing calls this directly
no test coverage detected