1) Iconv#iconv when given nil resets the converter FAILED Expected "a\000" to equal "\376\377\000a" or "\377\376a\000" ./rubyspec/1.8/library/iconv/iconv_spec.rb:40 ./rubyspec/1.8/library/iconv/iconv_spec.rb:36:in `open' ./rubyspec/1.8/library/iconv/iconv_spec.rb:36 ./rubyspec/1.8/library/iconv/iconv_spec.rb:9 2) Iconv.iconv acts exactly as if invoking Iconv#iconv consecutively on the same converter FAILED Expected ["\377\376a\000", "b\000", "c\000", "", "d\000", "e\000"] to equal ["\376\377\000a", "\000b", "\000c", "", "\376\377\000d", "\000e"] or ["\377\376a\000", "b\000", "c\000", "", "\377\376d\000", "e\000"] ./rubyspec/1.8/library/iconv/iconv_spec.rb:131 ./rubyspec/1.8/library/iconv/iconv_spec.rb:97:in `all?' ./rubyspec/1.8/library/iconv/iconv_spec.rb:119 3) SortedSet#flatten_merge flattens the passed SortedSet and merges it into self ERROR NoMethodError: undefined method `<=>' for # (eval):49:in `sort!' (eval):49:in `to_a' (eval):44:in `each' /usr/lib/ruby/1.8/set.rb:122:in `flatten_merge' ./rubyspec/1.8/library/set/sortedset/flatten_merge_spec.rb:14:in `send' ./rubyspec/1.8/library/set/sortedset/flatten_merge_spec.rb:14 /data/rubygems/lib/rubygems/custom_require.rb:27:in `all?' ./rubyspec/1.8/library/set/sortedset/flatten_merge_spec.rb:4 4) SortedSet#flatten returns a copy of self with each included SortedSet flattened ERROR NoMethodError: undefined method `<=>' for # (eval):49:in `sort!' (eval):49:in `to_a' (eval):44:in `each' /usr/lib/ruby/1.8/set.rb:122:in `flatten_merge' /usr/lib/ruby/1.8/set.rb:143:in `flatten' ./rubyspec/1.8/library/set/sortedset/flatten_spec.rb:8 /data/rubygems/lib/rubygems/custom_require.rb:27:in `all?' ./rubyspec/1.8/library/set/sortedset/flatten_spec.rb:4 5) SortedSet#flatten! flattens self ERROR NoMethodError: undefined method `<=>' for # (eval):49:in `sort!' (eval):49:in `to_a' (eval):44:in `each' /usr/lib/ruby/1.8/set.rb:149:in `detect' /usr/lib/ruby/1.8/set.rb:149:in `flatten!' ./rubyspec/1.8/library/set/sortedset/flatten_spec.rb:20 (eval):49:in `all?' ./rubyspec/1.8/library/set/sortedset/flatten_spec.rb:16 6) SortedSet#flatten! returns self when self was modified ERROR ArgumentError: comparison of Fixnum with SortedSet failed (eval):49:in `sort!' (eval):49:in `to_a' (eval):44:in `each' /usr/lib/ruby/1.8/set.rb:149:in `detect' /usr/lib/ruby/1.8/set.rb:149:in `flatten!' ./rubyspec/1.8/library/set/sortedset/flatten_spec.rb:26 (eval):49:in `all?' ./rubyspec/1.8/library/set/sortedset/flatten_spec.rb:16 Finished in 30.152672 seconds 2425 files, 8799 examples, 32167 expectations, 2 failures, 4 errors