summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:05:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:05:20 +0000
commitc406fbf4b2c59f9bf85533351a960a83d25ff7c2 (patch)
tree4fac471e134b4aca67943a942fbafbdd5777c9eb /t
parent4689197919065730154c1a7e7d25aad59b7cd47c (diff)
downloadperl-c406fbf4b2c59f9bf85533351a960a83d25ff7c2.tar.gz
On second thoughts show to utf8 skippage message only
on failures, it's too confusing otherwise, p4raw-id: //depot/perl@10430
Diffstat (limited to 't')
-rwxr-xr-xt/pragma/locale.t21
1 files changed, 10 insertions, 11 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t
index e0c833093d..df6df60509 100755
--- a/t/pragma/locale.t
+++ b/t/pragma/locale.t
@@ -817,17 +817,16 @@ if ($didwarn) {
warn "# None of your locales were broken.\n";
}
-}
-
-if (@utf8locale) {
- my $S = join(" ", @utf8locale);
- $S =~ s/(.{50,60}) /$1\n#\t/g;
-
- warn "#\n# The following locales\n#\n",
- "#\t", $S, "\n#\n",
- "# were skipped for the tests ",
- join(" ", sort {$a<=>$b} keys %utf8skip), "\n",
- "# because UTF-8 and locales do not work together in Perl.\n#\n";
+ if (@utf8locale) {
+ my $S = join(" ", @utf8locale);
+ $S =~ s/(.{50,60}) /$1\n#\t/g;
+
+ warn "#\n# The following locales\n#\n",
+ "#\t", $S, "\n#\n",
+ "# were skipped for the tests ",
+ join(" ", sort {$a<=>$b} keys %utf8skip), "\n",
+ "# because UTF-8 and locales do not work together in Perl.\n#\n";
+ }
}
# eof