1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip on non UTF-8 locale.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-06-19 06:30:55 +00:00
parent 9c6ae17a66
commit 6696fd0c49

View file

@ -415,6 +415,7 @@ class TestReadline < Test::Unit::TestCase
end if !/EditLine/n.match(Readline::VERSION)
def test_input_metachar_multibyte
skip 'this test needs UTF-8 locale' unless Encoding.find("locale") == Encoding::UTF_8
bug6602 = '[ruby-core:45683]'
Readline::HISTORY << "\u3042\u3093"
Readline::HISTORY << "\u3044\u3093"