diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-28 12:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:33:09 +0200 |
commit | 8feb30e3258ed9690eb850e3ca22842b260a0403 (patch) | |
tree | 6805bfe3df675c2c7f6a379093061c6b73d8365a /std/flags/kv_short_test.ts | |
parent | b508e845671de9351c3f51755647371d76128d29 (diff) |
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
Diffstat (limited to 'std/flags/kv_short_test.ts')
-rwxr-xr-x | std/flags/kv_short_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/flags/kv_short_test.ts b/std/flags/kv_short_test.ts index 050e550e3..dca05fb87 100755 --- a/std/flags/kv_short_test.ts +++ b/std/flags/kv_short_test.ts @@ -2,12 +2,12 @@ import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; -Deno.test(function short(): void { +Deno.test("short", function (): void { const argv = parse(["-b=123"]); assertEquals(argv, { b: 123, _: [] }); }); -Deno.test(function multiShort(): void { +Deno.test("multiShort", function (): void { const argv = parse(["-a=whatever", "-b=robots"]); assertEquals(argv, { a: "whatever", b: "robots", _: [] }); }); |