aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_m17n_comb.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-04 06:18:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-04 06:18:46 +0000
commita742215555b7ba3b7efe32302ee456011d9c89a7 (patch)
tree6011d35063f2e27cc2a79c6e023dae69b7040cfc /test/ruby/test_m17n_comb.rb
parentbac6f7418652ed09b3a89caaeeeda273f1fe11f1 (diff)
downloadruby-a742215555b7ba3b7efe32302ee456011d9c89a7.tar.gz
add a test for r52016
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_m17n_comb.rb')
-rw-r--r--test/ruby/test_m17n_comb.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_m17n_comb.rb b/test/ruby/test_m17n_comb.rb
index 3a37ed4a23..f66a74e280 100644
--- a/test/ruby/test_m17n_comb.rb
+++ b/test/ruby/test_m17n_comb.rb
@@ -1635,4 +1635,8 @@ class TestM17NComb < Test::Unit::TestCase
}
end
+ def test_bug11486
+ bug11486 = '[Bug #11486]'
+ assert_nil ("\u3042"*19+"\r"*19+"\u3042"*20+"\r"*20).encode("euc-jp").gsub!(/xxx/i, "")
+ end
end