]> git.refcnt.org Git - colorize.git/blobdiff - test.pl
Validate color provided to exclude-random switch
[colorize.git] / test.pl
diff --git a/test.pl b/test.pl
index 7968097ea66426183c0db47f87a80ffa835c8434..49a0cf38fae6cce73c46f4f00b5a97673137ad01 100755 (executable)
--- a/test.pl
+++ b/test.pl
@@ -61,7 +61,7 @@ SKIP: {
 
         my $file = $write_to_tmpfile->('abc');
 
-        $ok &= $run_program_fail->($program, '--exclude-random=random', 'must be provided a color');
+        $ok &= $run_program_fail->($program, '--exclude-random=random', 'must be provided a plain color');
         $ok &= $run_program_fail->($program, '--clean --clean-all',     'mutually exclusive');
         $ok &= $run_program_fail->($program, '--clean file1 file2',     'more than one file');
         $ok &= $run_program_fail->($program, '--clean-all file1 file2', 'more than one file');