Skip to content

Commit bb81b50

Browse files
committed
test: fix HTTP 500 error pattern to match actual error message
Update test expectation for server error to match the error format from downloadWithLock() which throws "Download failed: HTTP 500 Internal Server Error" instead of "Failed to download binary".
1 parent 0160933 commit bb81b50

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
@@ -264,7 +264,7 @@ describe.sequential('dlx-binary', () => {
264264
name: 'error-binary',
265265
url,
266266
}),
267-
).rejects.toThrow(/Failed to download binary/)
267+
).rejects.toThrow(/Download failed: HTTP 500/)
268268
} finally {
269269
restoreHome()
270270
}

0 commit comments

Comments
 (0)