X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F22-bad-mixed.t;h=4462bf661462a53a5219d7e63661b46b932a7c30;hp=8cc0931aa9c28fd53f25a01ad702d05d49de7e5c;hb=8e1c49f42da7671812398f92d819da04c7a41e1b;hpb=256486fe8cf158890b5bd5048d7467d6809b4f2e diff --git a/t/22-bad-mixed.t b/t/22-bad-mixed.t index 8cc0931..4462bf6 100644 --- a/t/22-bad-mixed.t +++ b/t/22-bad-mixed.t @@ -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: $_"); } } }