Stop testing for clobbering of $@
Florian Ragwitz [Thu, 20 May 2010 17:47:37 +0000 (19:47 +0200)]
Changes
t/100_bugs/012_DEMOLISH_eats_mini.t

diff --git a/Changes b/Changes
index 3b67cc9..f8d43da 100644 (file)
--- a/Changes
+++ b/Changes
@@ -29,6 +29,9 @@ for, noteworthy changes.
   * New type constraints will default to being unequal, rather than equal
     (rjbs).
 
+  * The tests no longer check for perl's behavior of clobbering $@, which has
+    been fixed in perl-5.13.1 (Florian Ragwitz).
+
 1.03 Thu, May 06, 2010
 
   [NEW FEATURES]
index e4b03c4..953e019 100644 (file)
@@ -78,24 +78,4 @@ use Test::Exception;
         if Baz->meta->is_mutable
 }
 
-{
-    package Quux;
-    use Moose;
-
-    sub DEMOLISH {
-        die "foo\n";
-    }
-}
-
-{
-    local $@ = 42;
-
-    eval { my $obj = Quux->new };
-
-    like( $@, qr/foo/, '$@ contains error from demolish when demolish dies' );
-
-    Quux->meta->make_immutable, redo
-        if Quux->meta->is_mutable
-}
-
 done_testing;