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:
parent
0ba93a9b95
commit
b4fba9fb24
1 changed files with 2 additions and 0 deletions
|
@ -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"), "[31mHello world[39m");
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue