diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-03-03 23:21:24 +0100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-03 17:21:24 -0500 |
| commit | e3a0c6f15f6bf2c0b2c061ab2395866ecfb57576 (patch) | |
| tree | e5da5ef4a2fee8be453fcec056624623c4b4d4c8 | |
| parent | 4f4601609fcc18a33112d1206f81114cea7aebaa (diff) | |
Re-enabling colors after color testing (denoland/deno_std#226)
Original: https://github.com/denoland/deno_std/commit/b4fba9fb24f1e968bc92531c3c31662387bd032d
| -rw-r--r-- | colors/test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/colors/test.ts b/colors/test.ts index bdce35523..bfe8bc4f5 100644 --- a/colors/test.ts +++ b/colors/test.ts @@ -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"); }); |
