spec/collation_spec.rb in ffi-icu-0.0.9 vs spec/collation_spec.rb in ffi-icu-0.1.0
- old
+ new
@@ -34,10 +34,10 @@
end
it "should compare two strings" do
collator.compare("blåbærsyltetøy", "blah").should == 1
collator.compare("blah", "blah").should == 0
- collator.compare("baah", "blah").should == -1
+ collator.compare("ba", "bl").should == -1
end
it "should know if a string is greater than another" do
collator.should be_greater("z", "a")
collator.should_not be_greater("a", "z")