summaryrefslogtreecommitdiff
path: root/dist/Devel-PPPort/t/Sv_set.t
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-11-02 21:18:03 -0600
committerKarl Williamson <khw@cpan.org>2019-11-22 06:49:03 -0700
commitc6e41a0a54eceb66483226532b3eb8e032541e26 (patch)
tree5ca87c7cdcb5e22a3895f28cdd6d4aed04bee068 /dist/Devel-PPPort/t/Sv_set.t
parent8d83133d4092939786340151d2e2c2790fc72ec9 (diff)
downloadperl-c6e41a0a54eceb66483226532b3eb8e032541e26.tar.gz
D:P: Change to use modern skip functionality
The new skip() has a count of tests. Previously you had to loop yourself.
Diffstat (limited to 'dist/Devel-PPPort/t/Sv_set.t')
-rw-r--r--dist/Devel-PPPort/t/Sv_set.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/dist/Devel-PPPort/t/Sv_set.t b/dist/Devel-PPPort/t/Sv_set.t
index d1096287b6..c56e23147b 100644
--- a/dist/Devel-PPPort/t/Sv_set.t
+++ b/dist/Devel-PPPort/t/Sv_set.t
@@ -66,9 +66,7 @@ Devel::PPPort::TestSvSTASH_set($bar, 'bar');
ok($bar->x(), 'hacker');
if ( "$]" < '5.007003' ) {
- for (1..10) {
- skip 'skip: no SV_NOSTEAL support', 0;
- }
+ skip 'skip: no SV_NOSTEAL support', 10;
} else {
ok(Devel::PPPort::Test_sv_setsv_SV_NOSTEAL());