aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2017-04-25 21:53:24 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2017-04-25 21:53:24 +0200
commitf1c44195b0950ef15dc9108025dbc2251b274225 (patch)
tree463f3aad122fd104c39fcd93578a51a391fe13ac /t
parent78eed47b63832cf88d2c1a9700cec16298901a44 (diff)
parentb87c52d154d2953b932a54866a74fc9e10e6ae80 (diff)
downloadcolorize-f1c44195b0950ef15dc9108025dbc2251b274225.tar.gz
colorize-f1c44195b0950ef15dc9108025dbc2251b274225.tar.bz2
Merge branch 'opt_attr'
Diffstat (limited to 't')
-rwxr-xr-xt/fail.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/fail.t b/t/fail.t
index b152094..0348201 100755
--- a/t/fail.t
+++ b/t/fail.t
@@ -12,7 +12,7 @@ use IPC::Open3 qw(open3);
use Symbol qw(gensym);
use Test::More;
-my $tests = 20;
+my $tests = 23;
my $run_program_fail = sub
{
@@ -40,6 +40,9 @@ SKIP: {
my $dir = tempdir(CLEANUP => true);
my @set = (
+ [ '--attr=:', 'must be provided a string' ],
+ [ '--attr=bold:underscore', 'must have strings separated by ,' ],
+ [ '--attr=b0ld', 'must be provided valid attribute names' ],
[ '--exclude-random=random', 'must be provided a plain color' ],
[ '--clean --clean-all', 'mutually exclusive' ],
[ '--clean file1 file2', 'more than one file' ],