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 --- colors/test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'colors') diff --git a/colors/test.ts b/colors/test.ts index 6f3f7e5a8..26e34c742 100644 --- a/colors/test.ts +++ b/colors/test.ts @@ -4,19 +4,19 @@ import { assertEquals } from "../testing/asserts.ts"; import { red, bgBlue, setEnabled, getEnabled } from "./mod.ts"; import "../examples/colors.ts"; -test(function singleColor() { +test(function singleColor(): void { assertEquals(red("Hello world"), "Hello world"); }); -test(function doubleColor() { +test(function doubleColor(): void { assertEquals(bgBlue(red("Hello world")), "Hello world"); }); -test(function replacesCloseCharacters() { +test(function replacesCloseCharacters(): void { assertEquals(red("Hello"), "Hello"); }); -test(function enablingColors() { +test(function enablingColors(): void { assertEquals(getEnabled(), true); setEnabled(false); assertEquals(bgBlue(red("Hello world")), "Hello world"); -- cgit v1.2.3