X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/496569ab5b179932c60b2924bf4c61176c8be004..959c24478e2c3a596a81cca359fd784c897f46a2:/terminal_test.go?ds=inline diff --git a/terminal_test.go b/terminal_test.go index 6f451d8..7f83b57 100644 --- a/terminal_test.go +++ b/terminal_test.go @@ -47,7 +47,7 @@ func TestEventText(t *testing.T) { text string }{ { - name: "reply as it is", + name: "keeps the complete reply text", event: Event{ Kind: "reply", Text: "Done.", @@ -55,7 +55,7 @@ func TestEventText(t *testing.T) { text: "Done.", }, { - name: "own user message not shown", + name: "hides the current terminal user message", event: Event{ Kind: "user", Text: "typed", @@ -64,7 +64,7 @@ func TestEventText(t *testing.T) { text: "", }, { - name: "user message of another source marked", + name: "marks a user message from another source", event: Event{ Kind: "user", Text: "from the phone", @@ -73,7 +73,7 @@ func TestEventText(t *testing.T) { text: "[telegram] from the phone", }, { - name: "start of a subagent", + name: "marks the start of a subagent", event: Event{ Kind: "subagent", Text: "GreenOtter", @@ -81,7 +81,7 @@ func TestEventText(t *testing.T) { text: "[GreenOtter] started", }, { - name: "report of a subagent whole", + name: "keeps the complete subagent report", event: Event{ Kind: "work", Text: "[GreenOtter]\nThere are 3 files.\n\nFull chat: zoom(\"GreenOtter\")", @@ -91,7 +91,7 @@ func TestEventText(t *testing.T) { text: "[GreenOtter]\nThere are 3 files.\n\nFull chat: zoom(\"GreenOtter\")", }, { - name: "long result cut", + name: "clips a long tool result with its omitted count", event: Event{ Kind: "echo", Text: strings.Repeat("line\n", 12),