mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-13 09:40:32 +08:00
[test] add test for RM-491
This commit is contained in:
@@ -237,3 +237,11 @@ describe "Properties implemented using forwarders" do
|
||||
mr.inviteMessage.should == 'welcome to hell'
|
||||
end
|
||||
end
|
||||
|
||||
describe "NSNotFound" do
|
||||
# RM-491
|
||||
it "can be retrieved with method return value" do
|
||||
num = NSNumber.numberWithUnsignedInteger(NSNotFound)
|
||||
num.unsignedIntegerValue.should == NSNotFound
|
||||
end
|
||||
end
|
||||
|
||||
2
vm
2
vm
Submodule vm updated: 668cfa7435...590a74288c
Reference in New Issue
Block a user