summaryrefslogtreecommitdiff
path: root/std/fmt/colors_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fmt/colors_test.ts')
-rw-r--r--std/fmt/colors_test.ts6
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"), "foo bar");
});