test: a shortfall is noted on the audio step, not refused; the 80%, two-minute and 30-second tolerances are pinned (red; second review finding 1)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -465,7 +465,6 @@ func TestUploadStatus_ALengthFailureIsExplainedInWordsAndNotAsAGenericError(t *t
|
|||||||
app, _ := newUploadApp(t, audioOK, 200<<20)
|
app, _ := newUploadApp(t, audioOK, 200<<20)
|
||||||
tests := []struct{ kind, want string }{
|
tests := []struct{ kind, want string }{
|
||||||
{"audio_too_long", "longer than the limit"},
|
{"audio_too_long", "longer than the limit"},
|
||||||
{"audio_incomplete", "ends much earlier than"},
|
|
||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
t.Run(tt.kind, func(t *testing.T) {
|
t.Run(tt.kind, func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user