feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -145,7 +145,7 @@ func TestUploadChatPost_AModelFailureIsShownInlineNotAs500(t *testing.T) {
|
|||||||
|
|
||||||
require.Equal(t, http.StatusOK, rec.Code)
|
require.Equal(t, http.StatusOK, rec.Code)
|
||||||
b := body(t, rec)
|
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")
|
assert.Contains(t, b, "kept", "the conversation survives a failed turn")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user