]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - t/20-bad.t
Enable the 'diag' option in tests
[perl/modules/Test-Valgrind.git] / t / 20-bad.t
index 490b779254f59ce56777c6f7a593b8dc03c739e6..f36e2f5985b12060a2d7b4aaa937ea6781f10609 100644 (file)
@@ -9,7 +9,9 @@ use lib 't/lib';
 
 eval {
  require Test::Valgrind;
- Test::Valgrind->import(action => 'Test::Valgrind::Test::Action');
+ Test::Valgrind->import(
+  action => 'Test::Valgrind::Test::Action',
+ );
 };
 if ($@) {
  diag $@;
@@ -24,5 +26,6 @@ eval {
 if ($@) {
  diag $@;
 } else {
+ diag "leaking some bytes!";
  Test::Valgrind::leak();
 }