提交 5f08a230 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #28687 from kamipo/fix_warning_already_initialized_constant

Fix `warning: already initialized constant HashWithIndifferentAccessTest::HashWithIndifferentAccess`
......@@ -675,7 +675,6 @@ def initialize(*)
assert_includes yaml_output, "hash"
end
end
HashWithIndifferentAccess = ActiveSupport::HashWithIndifferentAccess
def test_should_use_default_proc_for_unknown_key
hash_wia = HashWithIndifferentAccess.new { 1 + 2 }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册