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

ruby-changes:21945

From: nobu <ko1@a...>
Date: Fri, 9 Dec 2011 21:42:54 +0900 (JST)
Subject: [ruby-changes:21945] nobu:r33994 (trunk): * test/ruby/test_econv.rb (test_default_external): include iso-8859-16.

nobu	2011-12-09 21:40:59 +0900 (Fri, 09 Dec 2011)

  New Revision: 33994

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

  Log:
    * test/ruby/test_econv.rb (test_default_external): include iso-8859-16.

  Modified files:
    trunk/enc/trans/iso-8859-16-tbl.rb
    trunk/test/ruby/test_econv.rb


Property changes on: enc/trans/iso-8859-16-tbl.rb
___________________________________________________________________
Added: svn:eol-style
   + LF

Index: test/ruby/test_econv.rb
===================================================================
--- test/ruby/test_econv.rb	(revision 33993)
+++ test/ruby/test_econv.rb	(revision 33994)
@@ -921,7 +921,7 @@
       STDOUT.flush
     end
 EOS
-    Encoding.list.grep(->(enc) {/^ISO-8859-\d(?:[0-5])?\z/i =~ enc.name}) do |enc|
+    Encoding.list.grep(->(enc) {/^ISO-8859-\d+\z/i =~ enc.name}) do |enc|
       error = IO.popen([EnvUtil.rubybin, "-e", cmd, enc.name]) do |child|
         Marshal.load(child)
       end

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

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