diff options
Diffstat (limited to 'cli/tests/unit/opcall_test.ts')
-rw-r--r-- | cli/tests/unit/opcall_test.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/tests/unit/opcall_test.ts b/cli/tests/unit/opcall_test.ts index 63871cd4c..2cf086220 100644 --- a/cli/tests/unit/opcall_test.ts +++ b/cli/tests/unit/opcall_test.ts @@ -35,8 +35,7 @@ declare global { unitTest(async function opsAsyncBadResource() { try { const nonExistingRid = 9999; - await Deno.core.opAsync( - "op_read_async", + await Deno.core.read( nonExistingRid, new Uint8Array(0), ); |