X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=blobdiff_plain;f=test.pl;h=3ddec2d824ac5affbc9493894e07ea321066cb11;hp=f0bea0b706b02a9615f6fdde6dd94587ea4842f5;hb=c49f01aa0f24af3579d60e8534fda6097e762277;hpb=fd286538c23b3d28dc7aa0165fdb54456042d0fe diff --git a/test.pl b/test.pl index f0bea0b..3ddec2d 100755 --- a/test.pl +++ b/test.pl @@ -135,7 +135,7 @@ SKIP: { { # Check that a 'none' foreground color (with a background color present) # will be substituted by 'default'. - my $colored_text = qx(printf '%s' "foo bar baz" | $valgrind_cmd$program none/black); + my $colored_text = qx(printf %s "foo bar baz" | $valgrind_cmd$program none/black); is($colored_text, "\e[40m\e[39mfoo bar baz\e[0m", 'no color sequences printed'); }