summaryrefslogtreecommitdiff
path: root/std/path/extname_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/extname_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/extname_test.ts')
-rw-r--r--std/path/extname_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/path/extname_test.ts b/std/path/extname_test.ts
index 16ca7a2f9..d5c54a6de 100644
--- a/std/path/extname_test.ts
+++ b/std/path/extname_test.ts
@@ -52,7 +52,7 @@ const pairs = [
["file.//", "."],
];
-test(function extname() {
+test("extname", function () {
pairs.forEach(function (p) {
const input = p[0];
const expected = p[1];
@@ -70,7 +70,7 @@ test(function extname() {
assertEquals(path.posix.extname("file.\\\\"), ".\\\\");
});
-test(function extnameWin32() {
+test("extnameWin32", function () {
pairs.forEach(function (p) {
const input = p[0].replace(slashRE, "\\");
const expected = p[1];