From 46921f49f5e5e68f75a0d08671147ea4edcc8b0b Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Sun, 28 Jul 2024 17:04:36 +0200 Subject: Allow for background color rainbow mode --- t/conf/use.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 't/conf/use.t') 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'); -- cgit v1.2.3