From aa6de2e5a364f062df3eda6129f5e9285161af3a Mon Sep 17 00:00:00 2001 From: J Pipkin Date: Sat, 2 Mar 2013 03:14:03 -0600 Subject: return 0 instead of undef from get_sbo_location, test return with if instead of with if defined --- t/test.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/test.t') diff --git a/t/test.t b/t/test.t index 3b0b799..6e3bcf3 100755 --- a/t/test.t +++ b/t/test.t @@ -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); -- cgit v1.2.3