aboutsummaryrefslogtreecommitdiffstats
path: root/test/readline
diff options
context:
space:
mode:
Diffstat (limited to 'test/readline')
-rw-r--r--test/readline/test_readline.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 4a7954dfc6..049335284f 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -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"