diff options
author | Go MAEDA <maeda@farend.jp> | 2025-04-11 07:43:44 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2025-04-11 07:43:44 +0000 |
commit | dcdd453287e350a0c58f31945582a7f1302b5b7e (patch) | |
tree | 996d4b8c3d8c541b041f98a03f95d1292b6082c7 /public/<em>url_da_imagem< | |
parent | d325010d6483b4a0ccb386255d86c88d90ad7e38 (diff) | |
download | redmine-master.tar.gz redmine-master.zip |
Although `Hash.new {|h, k| h[k] = []}` is commonly used for this pattern, `Hash.new {|_h, _k| []}` is more appropriate here to avoid modifying the hash when accessing missing keys, which would cause `UserTest#test_accessing_projects_by_role_with_no_projects_should_return_an_empty_array` to fail.
git-svn-id: https://svn.redmine.org/redmine/trunk@23622 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/<em>url_da_imagem<')
0 files changed, 0 insertions, 0 deletions