aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/enc/test_iso_8859.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/enc/test_iso_8859.rb')
-rw-r--r--test/ruby/enc/test_iso_8859.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/enc/test_iso_8859.rb b/test/ruby/enc/test_iso_8859.rb
index 067c375f51..ed663be243 100644
--- a/test/ruby/enc/test_iso_8859.rb
+++ b/test/ruby/enc/test_iso_8859.rb
@@ -123,7 +123,7 @@ class TestISO8859 < Test::Unit::TestCase
assert_match(/^[\xdfz]+$/i, "sszzsszz")
assert_match(/^SS$/i, "\xdf")
assert_match(/^Ss$/i, "\xdf")
- ([*(0xc0..0xdc)] - [0xd7]).each do |c|
+ ([*(0xc0..0xde)] - [0xd7, 0xdd]).each do |c|
c1 = c.chr("iso8859-9")
c2 = (c + 0x20).chr("iso8859-9")
assert_match(/^(#{ c1 })\1$/i, c2 + c1)