[test] add test for RM-491

This commit is contained in:
Watson
2014-05-07 12:36:12 +09:00
parent 26f3c7dec5
commit c4e8a637e3
2 changed files with 9 additions and 1 deletions

View File

@@ -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

Submodule vm updated: 668cfa7435...590a74288c