Skip to content

Commit

Permalink
test(fmt/colors): add reset testcase (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb authored Feb 2, 2021
1 parent 0a5b3d5 commit 201b150
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fmt/colors_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit 201b150

Please sign in to comment.