From 201b150f196d18466d574ae86d46e1b7aa950f12 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 2 Feb 2021 11:13:44 +0800 Subject: [PATCH] test(fmt/colors): add reset testcase (#688) --- fmt/colors_test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fmt/colors_test.ts b/fmt/colors_test.ts index 7f5940a4d2a4..358cf71e6517 100644 --- a/fmt/colors_test.ts +++ b/fmt/colors_test.ts @@ -3,6 +3,10 @@ import { assertEquals } from "../testing/asserts.ts"; import * as c from "./colors.ts"; import "../examples/colors.ts"; +Deno.test("reset", function (): void { + assertEquals(c.reset("foo bar"), "foo bar"); +}); + Deno.test("singleColor", function (): void { assertEquals(c.red("foo bar"), "foo bar"); });