fix(tests): format error message

This commit is contained in:
lc6464 2026-04-26 19:48:22 +08:00
parent bfc37b784e
commit 1acab59fc7
No known key found for this signature in database
GPG key ID: 53C61B42FEC71D6D

View file

@ -1160,7 +1160,10 @@ func TestPreSend_ThoughtPlaceholderDeleteAndSkipsEdit(t *testing.T) {
msgIDs, handled := m.preSend(context.Background(), "test", msg, ch)
if handled {
t.Fatalf("expected thought message to fall through so the channel can send a structured message, got %v", msgIDs)
t.Fatalf(
"expected thought message to fall through so the channel can send a structured message, got %v",
msgIDs,
)
}
if ch.deleteCalls != 1 {
t.Fatalf("expected placeholder deletion, got %d delete calls", ch.deleteCalls)