summaryrefslogtreecommitdiff
path: root/lib/locale.t
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-08-01 15:45:11 -0600
committerKarl Williamson <khw@cpan.org>2016-08-02 12:11:23 -0600
commit635ddc7f5fd44fbf6745adfc02884318de7613ee (patch)
treec93991f570328635ad122b5ae3fbc82e2ba966a6 /lib/locale.t
parentd127e8bcfde8020e0020a07f028d1e5c64bf3cbb (diff)
downloadperl-635ddc7f5fd44fbf6745adfc02884318de7613ee.tar.gz
lib/locale.t: Better debug output
This output an array that was hopefully sorted, but the function it calls sorts things itself, so the array looked sorted even if it weren't.
Diffstat (limited to 'lib/locale.t')
-rw-r--r--lib/locale.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/locale.t b/lib/locale.t
index df6f816867..85fb157107 100644
--- a/lib/locale.t
+++ b/lib/locale.t
@@ -1745,7 +1745,11 @@ foreach my $Locale (@Locale) {
use locale;
my @sorted_controls = sort @{$posixes{'cntrl'}};
- debug "sorted :cntrl: = ", disp_chars(@sorted_controls), "\n";
+ my $output = "";
+ for my $control (@sorted_controls) {
+ $output .= " " . disp_chars($control);
+ }
+ debug "sorted :cntrl: = $output\n";
++$locales_test_number;
$test_names{$locales_test_number}