1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00

Re-enabling colors after color testing (#226)

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

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");
});