diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-12-20 20:21:30 +0000 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-12-20 15:21:30 -0500 |
commit | e8d82a6348d4cf9fc6a023fe16bf75df7fea61b0 (patch) | |
tree | 6d9e44694bf55a7e3089b1706dc05919ccc0dc27 /std/fmt/colors_test.ts | |
parent | 29562ed61ea42e46c86cef919f27033f6b3427b0 (diff) |
feat: Add missing mod.ts files in std (#3509)
std/archive/tar.ts:
- Remove FileReader.
- Remove FileWriter.
std/encoding/csv.ts:
- ExtendedParseOptions -> ParseOptions
- HeaderOption -> HeaderOptions
- ParseOptions -> ReadOptions
- readAll() -> readMatrix()
std/encoding/yaml.ts:
- DumpOptions -> StringifyOptions
std/fmt/colors.ts:
- getEnabled() -> getColorEnabled()
- setEnabled() -> setColorEnabled()
std/testing/mod.ts:
- Re-export sibling modules.
Diffstat (limited to 'std/fmt/colors_test.ts')
-rw-r--r-- | std/fmt/colors_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/fmt/colors_test.ts b/std/fmt/colors_test.ts index 949bc34e7..467cda1bb 100644 --- a/std/fmt/colors_test.ts +++ b/std/fmt/colors_test.ts @@ -17,10 +17,10 @@ test(function replacesCloseCharacters(): void { }); test(function enablingColors(): void { - assertEquals(c.getEnabled(), true); - c.setEnabled(false); + assertEquals(c.getColorEnabled(), true); + c.setColorEnabled(false); assertEquals(c.bgBlue(c.red("foo bar")), "foo bar"); - c.setEnabled(true); + c.setColorEnabled(true); assertEquals(c.red("foo bar"), "[31mfoo bar[39m"); }); |