diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-03-19 13:57:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 13:57:37 +0100 |
commit | e55dee7fd894f705a0268a4734b00197021f0617 (patch) | |
tree | f6232128259430ba943da2c1d9ade6ad17697adc /runtime/js/40_testing.js | |
parent | ad8e2383487e8ef4f15e7b86df80f6dc98fdcc79 (diff) |
refactor: cleanup assert() & AssertionError definitions (#13859)
Diffstat (limited to 'runtime/js/40_testing.js')
-rw-r--r-- | runtime/js/40_testing.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/40_testing.js b/runtime/js/40_testing.js index b79939f4b..2ec60ca44 100644 --- a/runtime/js/40_testing.js +++ b/runtime/js/40_testing.js @@ -6,7 +6,7 @@ const { setExitHandler } = window.__bootstrap.os; const { Console, inspectArgs } = window.__bootstrap.console; const { serializePermissions } = window.__bootstrap.permissions; - const { assert } = window.__bootstrap.util; + const { assert } = window.__bootstrap.infra; const { AggregateErrorPrototype, ArrayPrototypeFilter, @@ -82,7 +82,7 @@ "op_fdatasync_async": ["flush pending data operations for a file to disk", "awaiting the result of a `Deno.fdatasync` call"], "op_fetch_send": ["send a HTTP request", "awaiting the result of a `fetch` call"], "op_ffi_call_nonblocking": ["do a non blocking ffi call", "awaiting the returned promise"] , - "op_ffi_call_ptr_nonblocking": ["do a non blocking ffi call", "awaiting the returned promise"], + "op_ffi_call_ptr_nonblocking": ["do a non blocking ffi call", "awaiting the returned promise"], "op_flock_async": ["lock a file", "awaiting the result of a `Deno.flock` call"], "op_fs_events_poll": ["get the next file system event", "breaking out of a for await loop looping over `Deno.FsEvents`"], "op_fstat_async": ["get file metadata", "awaiting the result of a `Deno.File#fstat` call"], |