projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5e9686
)
dist/constant/t/utf8.t: Skip tests for early Perls
author
Sébastien Aperghis-Tramoni
<saper@cpan.org>
Thu, 6 Dec 2012 00:04:25 +0000
(17:04 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Thu, 6 Dec 2012 00:18:13 +0000
(17:18 -0700)
dist/constant/t/utf8.t
patch
|
blob
|
history
diff --git
a/dist/constant/t/utf8.t
b/dist/constant/t/utf8.t
index
c8830c3
..
b754202
100644
(file)
--- a/
dist/constant/t/utf8.t
+++ b/
dist/constant/t/utf8.t
@@
-1,9
+1,15
@@
#!./perl -T
+use Test::More;
+BEGIN {
+ plan skip_all => "irrelevant on pre-5.8.4" if $] < 5.008004
+}
+
# Tests for constant.pm that require the utf8 pragma
use utf8;
-use Test::More tests => 2;
+
+plan tests => 2;
use constant π => 4 * atan2 1, 1;