summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-20 19:37:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-20 19:37:26 +0000
commit0bcc798661c94fefec5a89ff3321c5a519313444 (patch)
tree12268f22edb8adab4dd9328f88ed15254fbdf1ca /ext/POSIX
parent5069cc751dbf8ccfb2c6036830812437af90a09b (diff)
downloadperl-0bcc798661c94fefec5a89ff3321c5a519313444.tar.gz
Fix typos in regular expressions
p4raw-id: //depot/perl@26424
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/t/time.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/t/time.t b/ext/POSIX/t/time.t
index c09a37540a..103a161963 100644
--- a/ext/POSIX/t/time.t
+++ b/ext/POSIX/t/time.t
@@ -21,10 +21,10 @@ SKIP: {
$^O eq "MSWin32" || $^O eq "dos" || $^O eq "interix";
tzset();
my @tzname = tzname();
- like($tzname[0], qr/[GMT|UTC]/i, "tzset() to GMT/UTC");
+ like($tzname[0], qr/(GMT|UTC)/i, "tzset() to GMT/UTC");
SKIP: {
skip "Mac OS X/Darwin doesn't handle this", 1 if $^O =~ /darwin/i;
- like($tzname[1], qr/[GMT|UTC]/i, "The whole year?");
+ like($tzname[1], qr/(GMT|UTC)/i, "The whole year?");
}
}