style(agent): fix gci comment alignment in test

This commit is contained in:
xiaoen 2026-03-13 16:30:26 +08:00
parent edbdc3bcf1
commit 7c1a1c2c1a

View file

@ -351,10 +351,10 @@ func TestFindSafeBoundary_SingleTurnReturnsZero(t *testing.T) {
// is at index 0; cutting anywhere else would split the Turn's tool // is at index 0; cutting anywhere else would split the Turn's tool
// sequence. findSafeBoundary must return 0 so callers skip compression. // sequence. findSafeBoundary must return 0 so callers skip compression.
history := []providers.Message{ history := []providers.Message{
msgUser("do everything"), // 0 ← only Turn boundary msgUser("do everything"), // 0 ← only Turn boundary
msgAssistantTC("tc1"), // 1 msgAssistantTC("tc1"), // 1
msgTool("tc1", "result"), // 2 msgTool("tc1", "result"), // 2
msgAssistant("all done"), // 3 msgAssistant("all done"), // 3
} }
got := findSafeBoundary(history, 2) got := findSafeBoundary(history, 2)