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

ruby-changes:52668

From: shirosaki <ko1@a...>
Date: Sat, 29 Sep 2018 15:47:38 +0900 (JST)
Subject: [ruby-changes:52668] shirosaki:r64880 (trunk): Revert search_convpath spec

shirosaki	2018-09-29 15:47:32 +0900 (Sat, 29 Sep 2018)

  New Revision: 64880

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64880

  Log:
    Revert search_convpath spec
    
    Remove .name since SEGV on MinGW is fixed.
    [ruby-core:89200]

  Modified files:
    trunk/spec/ruby/core/encoding/converter/search_convpath_spec.rb
Index: spec/ruby/core/encoding/converter/search_convpath_spec.rb
===================================================================
--- spec/ruby/core/encoding/converter/search_convpath_spec.rb	(revision 64879)
+++ spec/ruby/core/encoding/converter/search_convpath_spec.rb	(revision 64880)
@@ -27,7 +27,7 @@ with_feature :encoding do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/encoding/converter/search_convpath_spec.rb#L27
 
     it "raises an Encoding::ConverterNotFoundError if no conversion path exists" do
      lambda do
-       Encoding::Converter.search_convpath(Encoding::ASCII_8BIT.name, Encoding::Emacs_Mule.name)
+       Encoding::Converter.search_convpath(Encoding::ASCII_8BIT, Encoding::Emacs_Mule)
      end.should raise_error(Encoding::ConverterNotFoundError)
     end
   end

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

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