diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-02-18 14:18:01 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-02-18 14:18:01 +0000 |
commit | 5693d826577600a198e0f93a41f0ca319f85a889 (patch) | |
tree | cbd9e1667d9c841ccdb3d7ade6c80f4e3bf7fa5f /t | |
parent | b8df70f45ca97dc1aea9a3654d73acda2dcba123 (diff) | |
download | perl-5693d826577600a198e0f93a41f0ca319f85a889.tar.gz |
test.pl should locally increase $Level, rather than setting it to a
hard value, so that callers of like and unlike can present diagnostics
with the line number of their own caller.
p4raw-id: //depot/perl@30344
Diffstat (limited to 't')
-rw-r--r-- | t/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -276,7 +276,7 @@ sub like_yn ($$$@) { unshift(@mess, "# got '$got'\n", "# expected /$expected/\n"); } - local $Level = 2; + local $Level = $Level + 1; _ok($pass, _where(), $name, @mess); } |