From abebe65b09f21b98e246e2bdf51491bc5fc1edf6 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sat, 7 May 2016 21:41:34 +0200 Subject: Test::Execute: return undef explicitly --- t/Test/Execute.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/Test/Execute.pm') 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 /}; -- cgit v1.2.3