Subject: | Trivial: avoid test warning |
2.055 (not in "broken in" list in rt.cpan.org) emits a test warning with perl 5.8.3:
51folder/21tiehash....ok 98/101Use of uninitialized value in hash element at 51folder/21tiehash.t line 56, <GEN0> line 3400.
The attached patch avoids it.
--- tests/51folder/21tiehash.t.orig 2004-05-17 20:17:33.000000000 +0300
+++ tests/51folder/21tiehash.t 2004-05-17 20:18:43.000000000 +0300
@@ -55,3 +55,3 @@
# Double messages will not be added.
-$folder{ (undef) } = $folder{$msgid}->clone;
+$folder{undef} = $folder{$msgid}->clone;
cmp_ok(keys %folder , "==", 44);