summaryrefslogtreecommitdiff
path: root/test/ruby/test_hash.rb
AgeCommit message (Expand)Author
2025-08-26Remove `opt_aref_with` and `opt_aset_with`Aaron Patterson
2025-08-19Change TestHash#test_inspect to use EnvUtil.with_default_externalPeter Zhu
2025-05-23Change test to avoid stack overflow with MN threadsÉtienne Barrié
2025-05-22[Bug #21357] Fix crash in Hash#merge with blockDaniel Colson
2025-05-15[Bug #21333] Prohibit hash modification inside Hash#update blockNobuyoshi Nakada
2025-05-14[Bug #21331] Prohibit hash modification during stlike loopNobuyoshi Nakada
2025-05-14Revert "[Bug #21331] Prohibit modification during stlike loop"Nobuyoshi Nakada
2025-05-13[Bug #21331] Prohibit modification during stlike loopNobuyoshi Nakada
2025-03-12Fix flaky test_AREF_fstring_keyPeter Zhu
2025-03-05Replace tombstone when converting AR to ST hashJohn Hawthorn
2024-11-25Prevent a warning: setting Encoding.default_externalYusuke Endoh
2024-11-07Prevent method redefinition warnings in testYusuke Endoh
2024-10-03Update ruby test for colon-style hash inspecttompng
2024-10-03Hash#inspect with colon styletompng
2024-03-14Ensure test suite is compatible with --frozen-string-literalJean Boussier
2024-03-14[Bug #20307] Fix `Hash#update` to make frozen copy of string keysNobuyoshi Nakada
2024-03-04Disable callcc when ASAN is enabledKJ Tsanaktsidis
2024-01-04Memory leak when duplicating identhashPeter Zhu
2023-12-15add a testKoichi Sasada
2023-12-13Fix memory leak in Hash#compare_by_identityAlan Wu
2023-11-21Do not change hash type in Hash#assocNobuyoshi Nakada
2023-11-21Raise an exception when Hash#compare_by_identity during its iterationYusuke Endoh
2023-11-15No need to save `$VERBOSE`Nobuyoshi Nakada
2023-11-15Separate tests for Hash only from tests for Hash and its subclassesNobuyoshi Nakada
2023-11-11[Bug #19969] Compact st_table after deleted if possibleNobuyoshi Nakada
2023-09-23Fix memory leak in Hash#rehash for ST hashesPeter Zhu
2023-06-29Fix memory leak in Hash#replacePeter Zhu
2023-06-29Add memory leak test for allocating ST hashesPeter Zhu
2023-05-23Fix crash when replacing ST hash with AR hashPeter Zhu
2023-04-11hash.c: Fix hash_iter_lev_dec corrupting shapeJean Boussier
2022-08-04Fix inconsistency with opt_aref_withJohn Hawthorn
2022-06-10Make method id explicit in rb_exec_recursive_outerJohn Hawthorn
2022-02-10st.c: Do not clear entries_bound when calling Hash#shift for empty hashYusuke Endoh
2022-01-14Make Hash#shift return nil for empty hashJeremy Evans
2021-09-11Add documentation and tests for keyword argument value omissionShugo Maeda
2021-09-11Another test for [Feature #14579]Nobuyoshi Nakada
2021-09-11Allow value omission in Hash literalsShugo Maeda
2021-08-29Free previously used tables [Bug #18134]Nobuyoshi Nakada
2021-08-19Remove old warning aged nearly 8 yearsNobuyoshi Nakada
2021-07-15Copy hash compare_by_identity setting in more casesJeremy Evans
2021-07-08Split test of Hash.[] and add assertion for default value/procNobuyoshi Nakada
2021-03-28Keep non evaluated keys in `Hash#transform_keys!` [Bug #17735]Kenichi Kamiya
2021-03-22Hash#transform_values! ensures receiver modifiable in block [Bug #17736]Kenichi Kamiya
2021-03-21Ensure the receiver hash modifiable before updating [Bug #17736]Nobuyoshi Nakada
2021-03-21Add Hash#{update, merge!} test to ensure receiver modifiable in blockKenichi Kamiya
2021-03-20Some Hash destructive methods ensure the receiver modifiable [Bug #17736]Kenichi Kamiya
2021-03-18Avoid rehashing in Hash#replace/dup/initialize_copy [Bug #16996]Marc-Andre Lafortune
2021-03-18Avoid rehashing in Hash#select/reject [Bug #16996]Marc-Andre Lafortune
2020-12-31Make any hash values fixable [Bug #17488]Nobuyoshi Nakada
2020-12-17test/ruby: suppress some warningsYusuke Endoh