File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 90
90
fails "Hash#initialize_copy tries to convert the passed argument to a hash using #to_hash"
91
91
fails "Hash#initialize_copy replaces the contents of self with other"
92
92
93
+ fails "Hash#inspect handles hashes with recursive values"
94
+
93
95
fails "Hash#keep_if raises an RuntimeError if called on a frozen instance"
94
96
95
97
fails "Hash#key? compares keys with the same #hash value via #eql?"
138
140
fails "Hash#shift returns (computed) default for empty hashes"
139
141
fails "Hash#shift raises a RuntimeError if called on a frozen instance"
140
142
143
+ fails "Hash#to_s handles hashes with recursive values"
144
+
141
145
fails "Hash#update raises a RuntimeError on a frozen instance that would not be modified"
142
146
fails "Hash#update checks frozen status before coercing an object with #to_hash"
143
147
fails "Hash#update raises a RuntimeError on a frozen instance that is modified"
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ core/hash/indexes_spec
176
176
core/hash/indices_spec
177
177
core/hash/initialize_copy_spec
178
178
core/hash/initialize_spec
179
+ core/hash/inspect_spec
179
180
core/hash/invert_spec
180
181
core/hash/keep_if_spec
181
182
core/hash/key_spec
@@ -191,6 +192,7 @@ core/hash/select_spec
191
192
core/hash/shift_spec
192
193
core/hash/size_spec
193
194
core/hash/to_a_spec
195
+ core/hash/to_s_spec
194
196
core/hash/update_spec
195
197
core/hash/value_spec
196
198
core/hash/values_at_spec
You can’t perform that action at this time.
0 commit comments