diff options
author | Steven Schubiger <stsc@refcnt.org> | 2024-07-28 17:04:36 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2024-07-28 17:04:36 +0200 |
commit | 46921f49f5e5e68f75a0d08671147ea4edcc8b0b (patch) | |
tree | 976e0702780ff80fe44e191c0d0c0e70bd35e587 /t/conf/use.t | |
parent | d681c49c3229265ab29621430a64606165629c9b (diff) | |
download | colorize-46921f49f5e5e68f75a0d08671147ea4edcc8b0b.tar.gz colorize-46921f49f5e5e68f75a0d08671147ea4edcc8b0b.tar.bz2 |
Allow for background color rainbow mode
Diffstat (limited to 't/conf/use.t')
-rwxr-xr-x | t/conf/use.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/conf/use.t b/t/conf/use.t index 5132afa..8c0586e 100755 --- a/t/conf/use.t +++ b/t/conf/use.t @@ -12,9 +12,9 @@ my $tests = 21; my $conf = <<'EOT'; attr=underscore -color=yellow # tested also in color.t +color=yellow/black # tested also in color.t omit-color-empty=yes -rainbow-fg=yes +rainbow-bg=yes EOT plan tests => $tests; @@ -37,11 +37,11 @@ EOT close($fh); is(qx($program $infile1), <<"EOT", 'use config'); -\e[4;33mfoo\e[0m +\e[40m\e[4;33mfoo\e[0m -\e[4;34mbar\e[0m +\e[41m\e[4;33mbar\e[0m -\e[4;35mbaz\e[0m +\e[42m\e[4;33mbaz\e[0m EOT my $infile2 = $write_to_tmpfile->('foo'); |