]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/22-bad-mixed.t
Only enable the pragma during compile time
[perl/modules/indirect.git] / t / 22-bad-mixed.t
index 8cc0931aa9c28fd53f25a01ad702d05d49de7e5c..4462bf661462a53a5219d7e63661b46b932a7c30 100644 (file)
@@ -42,7 +42,7 @@ SKIP:
    is($@, "ok\n", "use indirect, defined: $_");
 
    eval "die qq{the code compiled but it shouldn't have\n}; $prefix; no indirect; $_";
-   like($@, qr/^warn:Indirect\s+call\s+of\s+method\s+"meh"\s+on\s+object\s+"Dongs"/, "no indirect, defined: $_");
+   like($@, qr/^warn:Indirect\s+call\s+of\s+method\s+"meh"\s+on\s+object\s+"Dongs"\s+at\s+\(eval\s+\d+\)\s+line\s+\d+/, "no indirect, defined: $_");
   }
  }
 }