diff options
author | Steven Schubiger <stsc@refcnt.org> | 2024-07-25 14:35:26 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2024-07-25 14:35:26 +0200 |
commit | 369e45fece49bb8487b8924a0851cc0ef8c6fbb8 (patch) | |
tree | d59932c0ba5c338e06490c3fab762836d16c1616 /t/conf/parse | |
parent | 743e75340d0882c7338eee51e03148984774a532 (diff) | |
download | colorize-369e45fece49bb8487b8924a0851cc0ef8c6fbb8.tar.gz colorize-369e45fece49bb8487b8924a0851cc0ef8c6fbb8.tar.bz2 |
Add initial implementation of foreground 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 d2988e4..13f27ff 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 = 9; +my $tests = 10; my $run_program_fail = sub { @@ -46,6 +46,7 @@ SKIP: { [ 'color1=magenta', 'option \'color1\' not recognized' ], [ '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' ], [ '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 fe2d46d..1ce06b0 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 = 21; +my $tests = 23; my $conf = <<'EOT'; # comment @@ -30,12 +30,14 @@ color=green color=green exclude-random=black omit-color-empty=yes +rainbow-fg=no attr=bold # comment attr=bold # comment attr= color= exclude-random= omit-color-empty= +rainbow-fg= EOT my $run_program_succeed = sub |