[前][次][番号順一覧][スレッド一覧]

ruby-changes:24082

From: naruse <ko1@a...>
Date: Tue, 19 Jun 2012 15:31:06 +0900 (JST)
Subject: [ruby-changes:24082] naruse:r36133 (trunk): Skip on non UTF-8 locale.

naruse	2012-06-19 15:30:55 +0900 (Tue, 19 Jun 2012)

  New Revision: 36133

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36133

  Log:
    Skip on non UTF-8 locale.

  Modified files:
    trunk/test/readline/test_readline.rb

Index: test/readline/test_readline.rb
===================================================================
--- test/readline/test_readline.rb	(revision 36132)
+++ test/readline/test_readline.rb	(revision 36133)
@@ -415,6 +415,7 @@
   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"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]