summaryrefslogtreecommitdiff
path: root/ruby_1_8_5/ext/tk/sample/tkextlib/treectrl
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-06-18 10:07:27 -0400
committerPeter Zhu <peter@peterzhu.ca>2024-06-18 14:21:37 -0400
commiteb215c8dc659f810abc4d112c000a5778fbbe423 (patch)
tree79d2c2f5d9664d179988fc1d10b8b57699ca0548 /ruby_1_8_5/ext/tk/sample/tkextlib/treectrl
parentb8a592fe6e2d1b537b229625cd3d439a7d5a6eb5 (diff)
Fix flaky TestWeakMap#test_inspect_garbageHEADmaster
If a GC is ran before the assert_match, then the WeakMap would be empty and would not have any objects, so the regular expression match would fail. This changes the regular expression to work even if the WeakMap is empty.
Diffstat (limited to 'ruby_1_8_5/ext/tk/sample/tkextlib/treectrl')
0 files changed, 0 insertions, 0 deletions