summaryrefslogtreecommitdiff
path: root/std/flags/all_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/all_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/all_bool_test.ts')
-rwxr-xr-xstd/flags/all_bool_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/flags/all_bool_test.ts b/std/flags/all_bool_test.ts
index cb5a36710..465635096 100755
--- a/std/flags/all_bool_test.ts
+++ b/std/flags/all_bool_test.ts
@@ -3,7 +3,7 @@ import { assertEquals } from "../testing/asserts.ts";
import { parse } from "./mod.ts";
// flag boolean true (default all --args to boolean)
-Deno.test(function flagBooleanTrue(): void {
+Deno.test("flagBooleanTrue", function (): void {
const argv = parse(["moo", "--honk", "cow"], {
boolean: true,
});
@@ -17,7 +17,7 @@ Deno.test(function flagBooleanTrue(): void {
});
// flag boolean true only affects double hyphen arguments without equals signs
-Deno.test(function flagBooleanTrueOnlyAffectsDoubleDash(): void {
+Deno.test("flagBooleanTrueOnlyAffectsDoubleDash", function (): void {
const argv = parse(["moo", "--honk", "cow", "-p", "55", "--tacos=good"], {
boolean: true,
});