From: Peter Rabbitson Date: Thu, 25 Sep 2014 11:45:06 +0000 (+0200) Subject: Edit leaktracer diag texts to be ilmary-compliant :) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee20ecfc16a69671c1c0a2e93b78bdfdbdecd03e;p=dbsrgits%2FDBIx-Class-Historic.git Edit leaktracer diag texts to be ilmary-compliant :) --- diff --git a/t/lib/DBICTest/Util/LeakTracer.pm b/t/lib/DBICTest/Util/LeakTracer.pm index d2ccc25..613fedf 100644 --- a/t/lib/DBICTest/Util/LeakTracer.pm +++ b/t/lib/DBICTest/Util/LeakTracer.pm @@ -293,7 +293,7 @@ sub assert_empty_weakregistry { next if ! defined $weak_registry->{$addr}{weakref}; $leaks_found++ unless $tb->in_todo; - $tb->ok (0, "Leaked $weak_registry->{$addr}{display_name}"); + $tb->ok (0, "Expected garbage collection of $weak_registry->{$addr}{display_name}"); my $diag = do { local $Data::Dumper::Maxdepth = 1; @@ -375,7 +375,7 @@ END { for (qw(indirect multidimensional bareword::filehandles)) { exists $INC{ Module::Runtime::module_notional_filename($_) } and - $tb->ok(0, "$_ load apparently attempted!!!" ) + $tb->ok(0, "$_ load should not have been attempted!!!" ) } } =cut