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:
parent
4f4601609f
commit
e3a0c6f15f
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