summaryrefslogtreecommitdiff
path: root/std/path/relative_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/path/relative_test.ts')
-rw-r--r--std/path/relative_test.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/std/path/relative_test.ts b/std/path/relative_test.ts
index 18b6930e8..e00e16d73 100644
--- a/std/path/relative_test.ts
+++ b/std/path/relative_test.ts
@@ -1,7 +1,5 @@
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
-
-const { test } = Deno;
import { assertEquals } from "../testing/asserts.ts";
import * as path from "./mod.ts";
@@ -50,7 +48,7 @@ const relativeTests = {
],
};
-test("relative", function () {
+Deno.test("relative", function () {
relativeTests.posix.forEach(function (p) {
const expected = p[2];
const actual = path.posix.relative(p[0], p[1]);
@@ -58,7 +56,7 @@ test("relative", function () {
});
});
-test("relativeWin32", function () {
+Deno.test("relativeWin32", function () {
relativeTests.win32.forEach(function (p) {
const expected = p[2];
const actual = path.win32.relative(p[0], p[1]);