1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
This commit is contained in:
Kenta Moriuchi 2024-11-16 05:30:27 +09:00
parent 5867a8c030
commit 71df4fd84d
No known key found for this signature in database
GPG key ID: AC843C584A91BE0C

View file

@ -541,7 +541,7 @@ Deno.test(async function decompressionStreamInvalidGzipStillReported() {
Deno.test(function readableStreamFromWithStringThrows() { Deno.test(function readableStreamFromWithStringThrows() {
assertThrows( assertThrows(
// @ts-expect-error // @ts-expect-error: primitives are not acceptable
() => ReadableStream.from("string"), () => ReadableStream.from("string"),
TypeError, TypeError,
"Failed to execute 'ReadableStream.from': Argument 1 can not be converted to async iterable.", "Failed to execute 'ReadableStream.from': Argument 1 can not be converted to async iterable.",