summaryrefslogtreecommitdiff
path: root/lib/English.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-27 00:59:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-27 00:59:44 +0000
commit6e3f923e7662037ff257ef70ff708eb110d8f4e1 (patch)
tree98f4a3b56548515ba7e5d2260074c00ad3965126 /lib/English.t
parent8b14f0338462a6a15a2f29c1228402d23ceb7d48 (diff)
downloadperl-6e3f923e7662037ff257ef70ff708eb110d8f4e1.tar.gz
Bad assumption which way digits and letters sort.
p4raw-id: //depot/perl@13298
Diffstat (limited to 'lib/English.t')
-rwxr-xr-xlib/English.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/English.t b/lib/English.t
index 6447affde4..745d42ee2a 100755
--- a/lib/English.t
+++ b/lib/English.t
@@ -112,13 +112,13 @@ is( $INPUT_LINE_NUMBER, 2, '$INPUT_LINE_NUMBER' );
my %hash;
$SUBSCRIPT_SEPARATOR = '|';
-$hash{1,2,3} = 1;
+$hash{d,e,f} = 1;
$SUBSEP = ',';
$hash{'a', 'b', 'c'} = 1;
my @keys = sort keys %hash;
-is( $keys[0], '1|2|3', '$SUBSCRIPT_SEPARATOR' );
-is( $keys[1], 'a,b,c', '$SUBSCRIPT_SEPARATOR' );
+is( $keys[0], 'a,b,c', '$SUBSCRIPT_SEPARATOR' );
+is( $keys[1], 'd|e|f', '$SUBSCRIPT_SEPARATOR' );
eval { is( $EXCEPTIONS_BEING_CAUGHT, 1, '$EXCEPTIONS_BEING_CAUGHT' ) };
ok( !$EXCEPTIONS_BEING_CAUGHT, '$EXCEPTIONS_BEING_CAUGHT should be false' );