summaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorVincent LE GOFF <g_n_s@hotmail.fr>2019-04-24 13:41:23 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-04-24 07:41:22 -0400
commitdcd01dd02530df0e799eb4227087680ffeb80d74 (patch)
tree8cc1dec75dd17c326fea6d7fe471b7e7a31032f7 /colors
parente1f7a60bb326f8299f339635c0738d28431afa0a (diff)
Eslint fixes (denoland/deno_std#356)
Make warnings fail Original: https://github.com/denoland/deno_std/commit/4543b563a9a01c8c168aafcbfd9d4634effba7fc
Diffstat (limited to 'colors')
-rw-r--r--colors/test.ts8
1 files changed, 4 insertions, 4 deletions
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");