summaryrefslogtreecommitdiff
path: root/std/flags/default_bool_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/flags/default_bool_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/flags/default_bool_test.ts')
-rwxr-xr-xstd/flags/default_bool_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/flags/default_bool_test.ts b/std/flags/default_bool_test.ts
index 4376038fe..e433a965d 100755
--- a/std/flags/default_bool_test.ts
+++ b/std/flags/default_bool_test.ts
@@ -2,7 +2,7 @@
import { assertEquals } from "../testing/asserts.ts";
import { parse } from "./mod.ts";
-Deno.test(function booleanDefaultTrue(): void {
+Deno.test("booleanDefaultTrue", function (): void {
const argv = parse([], {
boolean: "sometrue",
default: { sometrue: true },
@@ -10,7 +10,7 @@ Deno.test(function booleanDefaultTrue(): void {
assertEquals(argv.sometrue, true);
});
-Deno.test(function booleanDefaultFalse(): void {
+Deno.test("booleanDefaultFalse", function (): void {
const argv = parse([], {
boolean: "somefalse",
default: { somefalse: false },
@@ -18,7 +18,7 @@ Deno.test(function booleanDefaultFalse(): void {
assertEquals(argv.somefalse, false);
});
-Deno.test(function booleanDefaultNull(): void {
+Deno.test("booleanDefaultNull", function (): void {
const argv = parse([], {
boolean: "maybe",
default: { maybe: null },