diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-04-02 12:57:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 12:57:05 +1100 |
commit | 858abbe745aa8188654120d4999ab983b014c197 (patch) | |
tree | 85b314b1e8166aaa9efb2ba1f416abfa00f0b7a8 /tests/unit_node/worker_threads_test.ts | |
parent | b0c1bd82a85ddb54ffe717a2c158c33c0be99fe8 (diff) |
chore: update `std` submodule to 0.221.0 (#23112)
Diffstat (limited to 'tests/unit_node/worker_threads_test.ts')
-rw-r--r-- | tests/unit_node/worker_threads_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_node/worker_threads_test.ts b/tests/unit_node/worker_threads_test.ts index 66460940d..52c9cfffd 100644 --- a/tests/unit_node/worker_threads_test.ts +++ b/tests/unit_node/worker_threads_test.ts @@ -7,7 +7,7 @@ import { assertThrows, fail, } from "@std/assert/mod.ts"; -import { fromFileUrl, relative, sep } from "@std/path/mod.ts"; +import { fromFileUrl, relative, SEPARATOR } from "@std/path/mod.ts"; import * as workerThreads from "node:worker_threads"; import { EventEmitter, once } from "node:events"; @@ -320,7 +320,7 @@ Deno.test({ name: "[node/worker_threads] Worker with relative path", async fn() { const worker = new workerThreads.Worker( - `.${sep}` + relative( + `.${SEPARATOR}` + relative( Deno.cwd(), fromFileUrl(new URL("./testdata/worker_threads.mjs", import.meta.url)), ), |