1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/colors/main_test.ts

12 lines
328 B
TypeScript
Raw Normal View History

import { assertEqual, test } from "../testing/mod.ts";
import { color } from "main.ts";
import "example.ts";
test(function singleColor() {
assertEqual(color.red("Hello world"), "Hello world");
});
test(function doubleColor() {
assertEqual(color.red.bgBlue("Hello world"), "Hello world");
});