diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-07 21:41:34 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-07 21:41:34 +0200 |
commit | abebe65b09f21b98e246e2bdf51491bc5fc1edf6 (patch) | |
tree | a5d92d425b47a116339e93dabd3050b709f45720 /t/Test/Execute.pm | |
parent | 360df630f217a3a85f245d4378c1f98169cad058 (diff) | |
download | sbotools2-abebe65b09f21b98e246e2bdf51491bc5fc1edf6.tar.xz |
Test::Execute: return undef explicitly
Diffstat (limited to 't/Test/Execute.pm')
-rwxr-xr-x | t/Test/Execute.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/Test/Execute.pm b/t/Test/Execute.pm index 26b576a..0d4798f 100755 --- a/t/Test/Execute.pm +++ b/t/Test/Execute.pm @@ -32,7 +32,7 @@ sub run { ); my @cmd = @{ $args{cmd} }; - return unless @cmd; # no command to run + return undef unless @cmd; # no command to run my ($exit, $input, $test, $expected, $name, $note) = @args{qw/ exit input test expected name note /}; |