mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@8cafaa5
This commit is contained in:
parent
1b377b32c8
commit
2e32b919b4
35 changed files with 832 additions and 10 deletions
|
@ -56,5 +56,9 @@ describe "Struct#hash" do
|
|||
# See the Struct#eql? specs
|
||||
end
|
||||
|
||||
it "returns different hashes for different struct classes" do
|
||||
Struct.new(:x).new(1).hash.should != Struct.new(:y).new(1).hash
|
||||
end
|
||||
|
||||
it_behaves_like :struct_accessor, :hash
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue