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/parse | |
parent | d681c49c3229265ab29621430a64606165629c9b (diff) | |
download | colorize-46921f49f5e5e68f75a0d08671147ea4edcc8b0b.tar.gz colorize-46921f49f5e5e68f75a0d08671147ea4edcc8b0b.tar.bz2 |
Allow for background color rainbow mode
Diffstat (limited to 't/conf/parse')
-rwxr-xr-x | t/conf/parse/fail.t | 3 | ||||
-rwxr-xr-x | t/conf/parse/success.t | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/t/conf/parse/fail.t b/t/conf/parse/fail.t index 13f27ff..f3aef48 100755 --- a/t/conf/parse/fail.t +++ b/t/conf/parse/fail.t @@ -12,7 +12,7 @@ use IPC::Open3 qw(open3); use Symbol qw(gensym); use Test::More; -my $tests = 10; +my $tests = 11; my $run_program_fail = sub { @@ -47,6 +47,7 @@ SKIP: { [ 'exclude-random1=black', 'option \'exclude-random1\' not recognized' ], [ 'omit-color-empty1=yes', 'option \'omit-color-empty1\' not recognized' ], [ 'rainbow-fg1=no', 'option \'rainbow-fg1\' not recognized' ], + [ 'rainbow-bg1=no', 'option \'rainbow-bg1\' not recognized' ], [ 'attr', 'option \'attr\' not followed by =' ], [ 'attr#', 'option \'attr\' not followed by =' ], [ 'attr bold', 'option \'attr\' not followed by =' ], diff --git a/t/conf/parse/success.t b/t/conf/parse/success.t index 1ce06b0..9dd4937 100755 --- a/t/conf/parse/success.t +++ b/t/conf/parse/success.t @@ -12,7 +12,7 @@ use IPC::Open3 qw(open3); use Symbol qw(gensym); use Test::More; -my $tests = 23; +my $tests = 25; my $conf = <<'EOT'; # comment @@ -31,6 +31,7 @@ color=green exclude-random=black omit-color-empty=yes rainbow-fg=no +rainbow-bg=no attr=bold # comment attr=bold # comment attr= @@ -38,6 +39,7 @@ color= exclude-random= omit-color-empty= rainbow-fg= +rainbow-bg= EOT my $run_program_succeed = sub |