aboutsummaryrefslogtreecommitdiff
path: root/t/Test/Execute.pm
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-07 21:41:34 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-07 21:41:34 +0200
commitabebe65b09f21b98e246e2bdf51491bc5fc1edf6 (patch)
treea5d92d425b47a116339e93dabd3050b709f45720 /t/Test/Execute.pm
parent360df630f217a3a85f245d4378c1f98169cad058 (diff)
downloadsbotools2-abebe65b09f21b98e246e2bdf51491bc5fc1edf6.tar.xz
Test::Execute: return undef explicitly
Diffstat (limited to 't/Test/Execute.pm')
-rwxr-xr-xt/Test/Execute.pm2
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 /};