summaryrefslogtreecommitdiff
path: root/cli/tests/unit/ref_unref_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/ref_unref_test.ts')
-rw-r--r--cli/tests/unit/ref_unref_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/ref_unref_test.ts b/cli/tests/unit/ref_unref_test.ts
index 7ce72a170..eea93b165 100644
--- a/cli/tests/unit/ref_unref_test.ts
+++ b/cli/tests/unit/ref_unref_test.ts
@@ -4,7 +4,7 @@ import { assertNotEquals, execCode } from "./test_util.ts";
Deno.test("[unrefOp] unref'ing invalid ops does not have effects", async () => {
const [statusCode, _] = await execCode(`
- Deno.core.unrefOp(-1);
+ Deno[Deno.internal].core.unrefOp(-1);
setTimeout(() => { throw new Error() }, 10)
`);
// Invalid unrefOp call doesn't affect exit condition of event loop