X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F05-words.t;h=1141a582821f84c8d187ea20e61d05774287504a;hb=a06eb7aacdd80daabe3b1565c15b37096ea2b57c;hp=1598e46fd2b57dd31e507ad7057e24858e810f9b;hpb=0cd54c06e5318e8f5134e67bfa3a00fce20e80f2;p=perl%2Fmodules%2FScope-Upper.git diff --git a/t/05-words.t b/t/05-words.t index 1598e46..1141a58 100644 --- a/t/05-words.t +++ b/t/05-words.t @@ -3,13 +3,20 @@ use strict; use warnings; -use Test::More tests => 29 + 13 * 2; +use Test::More; + +BEGIN { + if ($^P) { + plan skip_all => 'hardcoded values are wrong under the debugger'; + } else { + plan tests => 29 + 13 * 2; + } +} use Scope::Upper qw/:words/; # This test is for internal use only and doesn't imply any kind of future # compatibility on what the words should actually return. -# It is expected to fail when ran under the debugger. is HERE, 0, 'main : here'; is TOP, 0, 'main : top';