This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow diag.t to pass tests for multi-line warnings.
[perl5.git] / t / porting / diag.t
index ff0e3b2..58bed95 100644 (file)
@@ -324,7 +324,7 @@ sub check_message {
         }
       } else {
         # We found an actual valid entry in perldiag.pod for this error.
-        pass($name);
+        pass($key);
       }
       # Later, should start checking that the severity is correct, too.
     } elsif ($partial) {