spec/chardet_spec.rb in ffi-icu-0.0.5 vs spec/chardet_spec.rb in ffi-icu-0.0.6
- old
+ new
@@ -3,10 +3,9 @@
require 'spec_helper'
describe ICU::CharDet::Detector do
before { @d = ICU::CharDet::Detector.new }
- after { @d.close }
it "should recognize UTF-8" do
m = @d.detect("æåø")
m.name.should == "UTF-8"
m.language.should be_kind_of(String)