1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00

Re-enabling colors after color testing (denoland/deno_std#226)

Original: b4fba9fb24
This commit is contained in:
Vincent LE GOFF 2019-03-03 23:21:24 +01:00 committed by Ryan Dahl
parent 4f4601609f
commit e3a0c6f15f

View file

@ -19,4 +19,6 @@ test(function enablingColors() {
assert.equal(getEnabled(), true);
setEnabled(false);
assert.equal(bgBlue(red("Hello world")), "Hello world");
setEnabled(true);
assert.equal(red("Hello world"), "Hello world");
});