diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-13 00:45:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-13 00:45:02 +0000 |
commit | ce331809e4684030eba6437d5e3bae0b8f7b8b4b (patch) | |
tree | 848a011a7ff0c5dccbea2bbdb96174bd06808411 /t/uni | |
parent | d2dcd0fb0e5b4b6b0e01e4cff08a37dff0d015ce (diff) | |
download | perl-ce331809e4684030eba6437d5e3bae0b8f7b8b4b.tar.gz |
Tiny test script tweaks.
p4raw-id: //depot/perl@14665
Diffstat (limited to 't/uni')
-rw-r--r-- | t/uni/fold.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/uni/fold.t b/t/uni/fold.t index 936a690343..789ba67029 100644 --- a/t/uni/fold.t +++ b/t/uni/fold.t @@ -15,13 +15,15 @@ if (open(CF, $CF)) { my @CF; while (<CF>) { - if (/^([0-9A-F]+); ([CFSI]); ((?:[0-9A-F]+)(?: [0-9A-F]+)*); \# (.+)/) { - next if $2 eq 'S'; # we are going for 'F'ull case folding + # Skip S since we are going for 'F'ull case folding + if (/^([0-9A-F]+); ([CFI]); ((?:[0-9A-F]+)(?: [0-9A-F]+)*); \# (.+)/) { next if EBCDIC && hex $1 < 0x100; push @CF, [$1, $2, $3, $4]; } } + close(CF); + die qq[$0: failed to find casefoldings from "$CF"\n] unless @CF; print "1..", scalar @CF, "\n"; |