diff --git a/internal/web/uploads_chat_handler_test.go b/internal/web/uploads_chat_handler_test.go index e03d8f5..bc1ce72 100644 --- a/internal/web/uploads_chat_handler_test.go +++ b/internal/web/uploads_chat_handler_test.go @@ -145,7 +145,7 @@ func TestUploadChatPost_AModelFailureIsShownInlineNotAs500(t *testing.T) { require.Equal(t, http.StatusOK, rec.Code) b := body(t, rec) - assert.Contains(t, b, "couldn't answer") + assert.Contains(t, b, "answer just now", "the failure is inline (the apostrophe is HTML-escaped, so match the tail)") assert.Contains(t, b, "kept", "the conversation survives a failed turn") }