Login
Added test case for PPI bug.
authorJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Fri, 1 Jun 2007 05:51:53 +0000 (05:51 +0000)
committerJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Fri, 1 Jun 2007 05:51:53 +0000 (05:51 +0000)
See http://rt.cpan.org/Ticket/Display.html?id=27364

t/Modules/RequireEndWithOne.run

index a9a7ece..50bfada 100644 (file)
@@ -95,3 +95,15 @@ END {}
 ## failures 1
 ## cut
 'Larry';
+
+#-----------------------------------------------------------------------------
+
+## name DESTROY sub hides the 1;
+## TODO This is a PPI bug. See http://rt.cpan.org/Ticket/Display.html?id=27364
+## failures 0
+## cut
+
+DESTROY { warn 'DEAD'; }
+
+1;
+