mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@b6b7752
This commit is contained in:
parent
64d8c0815e
commit
b3fa158d1c
35 changed files with 652 additions and 56 deletions
|
@ -50,6 +50,14 @@ describe "C-API Hash function" do
|
|||
end
|
||||
end
|
||||
|
||||
describe "rb_ident_hash_new" do
|
||||
it "returns a new compare by identity hash" do
|
||||
result = @s.rb_ident_hash_new
|
||||
result.should == {}
|
||||
result.compare_by_identity?.should == true
|
||||
end
|
||||
end
|
||||
|
||||
describe "rb_hash_dup" do
|
||||
it "returns a copy of the hash" do
|
||||
hsh = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue