develooper Front page | perl.perl5.porters | Postings from October 2008

[PATCH] lib/DB.t fix

From:
Jerry D. Hedden
Date:
October 16, 2008 05:39
Subject:
[PATCH] lib/DB.t fix
Message ID:
1ff86f510810160539y530a3612naaba3c97c8869f1b@mail.gmail.com
lib/DB.t is now complaining after the upgrade to Test::Simple:

lib/DB........................................................Use of
uninitialized value $got in string eq at ../lib/DB.t line 89.
ok

The function call being tested is (properly) returning 'undef', so
using cmp_ok() to test against the empty string is incorrect.

The attached patch fixes this.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About