From dcd01dd02530df0e799eb4227087680ffeb80d74 Mon Sep 17 00:00:00 2001 From: Vincent LE GOFF Date: Wed, 24 Apr 2019 13:41:23 +0200 Subject: Eslint fixes (denoland/deno_std#356) Make warnings fail Original: https://github.com/denoland/deno_std/commit/4543b563a9a01c8c168aafcbfd9d4634effba7fc --- flags/all_bool_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flags/all_bool_test.ts') diff --git a/flags/all_bool_test.ts b/flags/all_bool_test.ts index 59779c779..22b6bcd2d 100755 --- a/flags/all_bool_test.ts +++ b/flags/all_bool_test.ts @@ -4,7 +4,7 @@ import { assertEquals } from "../testing/asserts.ts"; import { parse } from "./mod.ts"; // flag boolean true (default all --args to boolean) -test(function flagBooleanTrue() { +test(function flagBooleanTrue(): void { const argv = parse(["moo", "--honk", "cow"], { boolean: true }); @@ -18,7 +18,7 @@ test(function flagBooleanTrue() { }); // flag boolean true only affects double hyphen arguments without equals signs -test(function flagBooleanTrueOnlyAffectsDoubleDash() { +test(function flagBooleanTrueOnlyAffectsDoubleDash(): void { var argv = parse(["moo", "--honk", "cow", "-p", "55", "--tacos=good"], { boolean: true }); -- cgit v1.2.3