summaryrefslogtreecommitdiff
path: root/std/path/join_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/path/join_test.ts')
-rw-r--r--std/path/join_test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/std/path/join_test.ts b/std/path/join_test.ts
index 6e70eba5b..b7311406f 100644
--- a/std/path/join_test.ts
+++ b/std/path/join_test.ts
@@ -1,4 +1,3 @@
-const { test } = Deno;
import { assertEquals } from "../testing/asserts.ts";
import * as path from "./mod.ts";
@@ -106,7 +105,7 @@ const windowsJoinTests = [
[["c:", "file"], "c:\\file"],
];
-test("join", function () {
+Deno.test("join", function () {
joinTests.forEach(function (p) {
const _p = p[0] as string[];
const actual = path.posix.join.apply(null, _p);
@@ -114,7 +113,7 @@ test("join", function () {
});
});
-test("joinWin32", function () {
+Deno.test("joinWin32", function () {
joinTests.forEach(function (p) {
const _p = p[0] as string[];
const actual = path.win32.join.apply(null, _p).replace(backslashRE, "/");