Skip to content

Commit 0160933

Browse files
committed
test: update error message pattern for downloadWithLock integration
Update test expectation to match the new error message format from downloadWithLock() which throws "Download failed: HTTP 404" instead of the previous "Failed to download binary" message.
1 parent c841322 commit 0160933

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/dlx-binary.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ describe.sequential('dlx-binary', () => {
245245
name: 'not-found-binary',
246246
url,
247247
}),
248-
).rejects.toThrow(/Failed to download binary/)
248+
).rejects.toThrow(/Download failed: HTTP 404/)
249249
} finally {
250250
restoreHome()
251251
}

0 commit comments

Comments
 (0)