Commit bad7e0ba
bad7e0baeb8eMerged
Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 4 files · +4 added
Description
Add test fixtures for Hash#fetch(int_int_hash) and Array#join(poly_array)
Permanent guards for the container-method gaps fixed in bfe2f3e and 91db5af, which shipped with only ephemeral reproducers.
Refs #1329 Refs #1332
Co-Authored-By: Claude Opus 4.8 [email protected]
Details
- Commit
- bad7e0baeb8e
- Parent
- 6047c90ee1ed
test/array_join_poly.rbaddedView file
1+
# Array#join on a mixed-element (poly) array: each element is to_s'd and2+
# joined with the separator. Homogeneous int_array/str_array have their3+
# own join; these literals are heterogeneous so they use poly storage.4+
puts [1, "x", :y].join(",")5+
puts [1, "x", :y].join6+
puts [10, "y"].join("-")7+
puts "done"test/array_join_poly.rb.expectedaddedView file
Loading diff…
test/hash_fetch_int_int.rbaddedView file
Loading diff…
test/hash_fetch_int_int.rb.expectedaddedView file
Loading diff…