diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-22 19:30:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-22 19:30:51 +0100 |
commit | 0d9f71a6ed05b41a89b10c2bcfc52fb5bbaea9fd (patch) | |
tree | db7e036dfffafdbda952049b9fad861ed4d4d7ec /test | |
parent | 56dec873222e8881847ebcb246eaf67d69e4e86a (diff) |
winwidget.c: Rename alias; update feh.t while at it
Diffstat (limited to 'test')
-rw-r--r-- | test/feh.t | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -2,7 +2,7 @@ use strict; use warnings; use 5.010; -use Test::Command tests => 63; +use Test::Command tests => 60; $ENV{HOME} = 'test'; @@ -39,17 +39,7 @@ my $re_loadable = qr{test/ok/...}; my $re_unloadable = qr{test/fail/...}; my $re_list_action = qr{test/ok/... 16x16 \(${feh_name}\)}; -my $cmd = Test::Command->new(cmd => $feh); - -# Insufficient Arguments -> Usage should return failure -$cmd->exit_is_num(1, 'missing arguments return 1'); -$cmd->stdout_is_eq('', 'missing arguments print usage (!stdout)'); -$cmd->stderr_is_eq(<<"EOF", 'missing arguments print usage (stderr)'); -${feh_name} - No loadable images specified. -Use ${feh_name} --help for detailed usage information -EOF - -$cmd = Test::Command->new(cmd => "$feh --version"); +my $cmd = Test::Command->new(cmd => "$feh --version"); $cmd->exit_is_num(0); $cmd->stdout_is_eq("${feh_name} version ${feh_version}\n" |