diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-04-24 13:41:23 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-24 07:41:22 -0400 |
| commit | dcd01dd02530df0e799eb4227087680ffeb80d74 (patch) | |
| tree | 8cc1dec75dd17c326fea6d7fe471b7e7a31032f7 /flags/num_test.ts | |
| parent | e1f7a60bb326f8299f339635c0738d28431afa0a (diff) | |
Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: https://github.com/denoland/deno_std/commit/4543b563a9a01c8c168aafcbfd9d4634effba7fc
Diffstat (limited to 'flags/num_test.ts')
| -rwxr-xr-x | flags/num_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flags/num_test.ts b/flags/num_test.ts index 752e1752f..1123f7ecc 100755 --- a/flags/num_test.ts +++ b/flags/num_test.ts @@ -3,7 +3,7 @@ import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; -test(function nums() { +test(function nums(): void { const argv = parse([ "-x", "1234", @@ -33,7 +33,7 @@ test(function nums() { assertEquals(typeof argv._[0], "number"); }); -test(function alreadyNumber() { +test(function alreadyNumber(): void { const argv = parse(["-x", 1234, 789]); assertEquals(argv, { x: 1234, _: [789] }); assertEquals(typeof argv.x, "number"); |
