diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-01-28 10:46:43 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-01-28 10:46:43 +0000 |
commit | c6502f5c7c927d82523e421275ac87013ce318d5 (patch) | |
tree | 2e4739555ee05cb47e2d6273d81e8f8ca47353e0 /t/op/lc.t | |
parent | 6b75f04219345928d4af5de9535cb69db219287f (diff) | |
download | perl-c6502f5c7c927d82523e421275ac87013ce318d5.tar.gz |
Test that lc, uc, etc on undef return ""
p4raw-id: //depot/perl@33087
Diffstat (limited to 't/op/lc.t')
-rw-r--r-- | t/op/lc.t | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,7 +6,12 @@ BEGIN { require './test.pl'; } -plan tests => 88; +plan tests => 92; + +is(lc(undef), "", "lc(undef) is ''"); +is(lcfirst(undef), "", "lcfirst(undef) is ''"); +is(uc(undef), "", "uc(undef) is ''"); +is(ucfirst(undef), "", "ucfirst(undef) is ''"); $a = "HELLO.* world"; $b = "hello.* WORLD"; |