summaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
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");