test/cases/gigo_test.rb in gigo-1.1.0 vs test/cases/gigo_test.rb in gigo-1.2.0
- old
+ new
@@ -21,9 +21,13 @@
GIGO.load(nil).must_be_nil
o = Object.new
GIGO.load(o).must_equal o
end
+ it 'always returns a String object' do
+ GIGO.load(data_bin_apos).must_be_instance_of String
+ end
+
it 'fixes windows apostrophe' do
GIGO.load(data_bin_apos).must_equal "won’t"
end
it 'should allows properly encoded and marked strings to be passed thru' do