summaryrefslogtreecommitdiff
path: root/lib/DB.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-21 20:00:16 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-21 20:00:16 +0000
commit881e6572cd213db7895c7d5e1dee36e48f67be6a (patch)
tree131838654f70a996fccbe76da33d20b4abc416c8 /lib/DB.t
parente853cbadf1ccbd2e9e5a6aeb93cc6a9ee62028b4 (diff)
downloadperl-881e6572cd213db7895c7d5e1dee36e48f67be6a.tar.gz
Jerry spotted that as a result of change 34483 which upgrades blead to
Test::Simple 0.82, lib/DB.t is now issuing a warning. His original suggestion was ok(!defined ...) - he, Merijn and I independently refined this to isnt(..., undef) p4raw-id: //depot/perl@34554
Diffstat (limited to 'lib/DB.t')
-rw-r--r--lib/DB.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DB.t b/lib/DB.t
index f665291fa2..a1fadf331a 100644
--- a/lib/DB.t
+++ b/lib/DB.t
@@ -86,7 +86,7 @@ BEGIN {
# test DB::_clientname()
is( DB::_clientname('foo=A(1)'), 'foo',
'DB::_clientname should return refname');
-cmp_ok( DB::_clientname('bar'), 'eq', '',
+is( DB::_clientname('bar'), undef,
'DB::_clientname should not return non refname');
# test DB::next() and DB::step()