diff options
Diffstat (limited to 'spec/ruby/core/encoding/converter/convpath_spec.rb')
-rw-r--r-- | spec/ruby/core/encoding/converter/convpath_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/encoding/converter/convpath_spec.rb b/spec/ruby/core/encoding/converter/convpath_spec.rb index 473f2db91e..23f1e5dc33 100644 --- a/spec/ruby/core/encoding/converter/convpath_spec.rb +++ b/spec/ruby/core/encoding/converter/convpath_spec.rb @@ -15,10 +15,10 @@ describe "Encoding::Converter#convpath" do end it "indicates if crlf_newline conversion would occur" do - ec = Encoding::Converter.new("ISo-8859-1", "EUC-JP", {crlf_newline: true}) + ec = Encoding::Converter.new("ISo-8859-1", "EUC-JP", crlf_newline: true) ec.convpath.last.should == "crlf_newline" - ec = Encoding::Converter.new("ASCII", "UTF-8", {crlf_newline: false}) + ec = Encoding::Converter.new("ASCII", "UTF-8", crlf_newline: false) ec.convpath.last.should_not == "crlf_newline" end end |