This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a613a4
)
APItest:locale.t Fix ALT_DIGITS test
author
Karl Williamson
<khw@cpan.org>
Thu, 22 Feb 2018 21:21:23 +0000
(14:21 -0700)
committer
Karl Williamson
<khw@cpan.org>
Thu, 22 Feb 2018 21:28:56 +0000
(14:28 -0700)
The value returned for ALT_DIGITS may vary by locale and platform.
Change the test to only look for a result, as opposed to a particular
result.
This should fix https://rt.perl.org/Ticket/Display.html?id=132879
but I'll leave the ticket open until that is verified.
ext/XS-APItest/t/locale.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/XS-APItest/t/locale.t
b/ext/XS-APItest/t/locale.t
index
064627d
..
342f673
100644
(file)
--- a/
ext/XS-APItest/t/locale.t
+++ b/
ext/XS-APItest/t/locale.t
@@
-53,7
+53,7
@@
my %correct_C_responses = (
ABMON_7 => 'Jul',
ABMON_8 => 'Aug',
ABMON_9 => 'Sep',
- ALT_DIGITS =>
''
,
+ ALT_DIGITS =>
undef
,
AM_STR => 'AM',
CODESET => undef,
CRNCYSTR => undef,