aboutsummaryrefslogtreecommitdiffstats
path: root/t/conf/use.t
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2024-07-25 14:35:26 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2024-07-25 14:35:26 +0200
commit369e45fece49bb8487b8924a0851cc0ef8c6fbb8 (patch)
treed59932c0ba5c338e06490c3fab762836d16c1616 /t/conf/use.t
parent743e75340d0882c7338eee51e03148984774a532 (diff)
downloadcolorize-369e45fece49bb8487b8924a0851cc0ef8c6fbb8.tar.gz
colorize-369e45fece49bb8487b8924a0851cc0ef8c6fbb8.tar.bz2
Add initial implementation of foreground color rainbow mode
Diffstat (limited to 't/conf/use.t')
-rwxr-xr-xt/conf/use.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/conf/use.t b/t/conf/use.t
index 0a695df..5132afa 100755
--- a/t/conf/use.t
+++ b/t/conf/use.t
@@ -14,6 +14,7 @@ my $conf = <<'EOT';
attr=underscore
color=yellow # tested also in color.t
omit-color-empty=yes
+rainbow-fg=yes
EOT
plan tests => $tests;
@@ -38,9 +39,9 @@ EOT
is(qx($program $infile1), <<"EOT", 'use config');
\e[4;33mfoo\e[0m
-\e[4;33mbar\e[0m
+\e[4;34mbar\e[0m
-\e[4;33mbaz\e[0m
+\e[4;35mbaz\e[0m
EOT
my $infile2 = $write_to_tmpfile->('foo');