diff options
author | J Pipkin <j@dawnrazor.net> | 2013-03-02 03:14:03 -0600 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2013-03-02 03:14:03 -0600 |
commit | aa6de2e5a364f062df3eda6129f5e9285161af3a (patch) | |
tree | 8f2919019bf4b5d9ee05b13d48219a0824ba770c /t | |
parent | fb0d444d3aed4100546a55bdf69903aa13cc7fe5 (diff) | |
download | sbotools2-aa6de2e5a364f062df3eda6129f5e9285161af3a.tar.xz |
return 0 instead of undef from get_sbo_location, test return with if instead of with if defined
Diffstat (limited to 't')
-rwxr-xr-x | t/test.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ print "completed pseudo-random testing of get_installed_packages 'ALL' \n"; # get_sbo_location tests is(get_sbo_location ('nginx'), "$sbo_home/network/nginx", 'get_sbo_location is good'); -is(get_sbo_location ('omgwtfbbq'), undef, +is(get_sbo_location ('omgwtfbbq'), 0, 'get_sbo_location returns false with not-an-sbo input'); my @finds = qw(nginx gmpc); my %locs = get_sbo_location(@finds); |