summaryrefslogtreecommitdiff
path: root/std/path/relative_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-28 12:33:09 +0200
committerGitHub <noreply@github.com>2020-04-28 12:33:09 +0200
commit8feb30e3258ed9690eb850e3ca22842b260a0403 (patch)
tree6805bfe3df675c2c7f6a379093061c6b73d8365a /std/path/relative_test.ts
parentb508e845671de9351c3f51755647371d76128d29 (diff)
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named function.
Diffstat (limited to 'std/path/relative_test.ts')
-rw-r--r--std/path/relative_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/path/relative_test.ts b/std/path/relative_test.ts
index af5896236..18b6930e8 100644
--- a/std/path/relative_test.ts
+++ b/std/path/relative_test.ts
@@ -50,7 +50,7 @@ const relativeTests = {
],
};
-test(function relative() {
+test("relative", function () {
relativeTests.posix.forEach(function (p) {
const expected = p[2];
const actual = path.posix.relative(p[0], p[1]);
@@ -58,7 +58,7 @@ test(function relative() {
});
});
-test(function relativeWin32() {
+test("relativeWin32", function () {
relativeTests.win32.forEach(function (p) {
const expected = p[2];
const actual = path.win32.relative(p[0], p[1]);