Sha256: c598c1112a5bbf197901aaa52f503ed401ee6c7f77c63936059d9e65c5bfe5bf
Contents?: true
Size: 439 Bytes
Versions: 52
Compression:
Stored size: 439 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) with_feature :encoding do describe "Encoding::Converter#source_encoding" do it "returns the source encoding as an Encoding object" do ec = Encoding::Converter.new('ASCII','Big5') ec.source_encoding.should == Encoding::US_ASCII ec = Encoding::Converter.new('Shift_JIS','EUC-JP') ec.source_encoding.should == Encoding::SHIFT_JIS end end end
Version data entries
52 entries across 52 versions & 2 rubygems