This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "Un-TODO warning test"
authorRafael Garcia-Suarez <rgs@consttype.org>
Thu, 29 Apr 2010 11:02:27 +0000 (13:02 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Thu, 29 Apr 2010 11:02:27 +0000 (13:02 +0200)
This reverts commit efbe327085cc15510d8c261772e9ac21be3635de.

dist/Safe/t/safesort.t

index 2f1c204..3396f1e 100644 (file)
@@ -51,5 +51,6 @@ is $@, 42, 'successful closure call should not alter $@';
     local $SIG{__WARN__} = sub { $warns++ };
     ok !eval { $die_func->("died\n"); 1 }, 'should die';
     is $@, "died\n", '$@ should be set correctly';
+    local $TODO = "Shouldn't warn";
     is $warns, 0;
 }