spec/ios/nsdata_spec.rb in sugarcube-3.3.4 vs spec/ios/nsdata_spec.rb in sugarcube-3.3.5
- old
+ new
@@ -8,10 +8,10 @@
it "native methods should work - unicode" do
NSString.stringWithUTF8String("t\u0113st".dataUsingEncoding(NSUTF8StringEncoding)).should == "t\u0113st"
NSString.stringWithUTF8String("t\u0113st".nsdata).should == "t\u0113st"
end
- it "native methods should work - turkey" do
+ it "native methods should work - turkish letters" do
NSString.stringWithUTF8String("\u00ab\u03c4\u03b1\u0411\u042c\u2113\u03c3\u00bb".dataUsingEncoding(NSUTF8StringEncoding)).should == "\u00ab\u03c4\u03b1\u0411\u042c\u2113\u03c3\u00bb"
NSString.stringWithUTF8String("\u00ab\u03c4\u03b1\u0411\u042c\u2113\u03c3\u00bb".nsdata).should == "\u00ab\u03c4\u03b1\u0411\u042c\u2113\u03c3\u00bb"
end
it "should be able to create an ASCII string from data" do