未验证 提交 475a2911 编写于 作者: E Eileen M. Uchitelle 提交者: GitHub

Merge pull request #32477 from bogdanvlviv/fix-test-added-in-32444

Fix test added in #32444
......@@ -81,11 +81,13 @@ def test_notification_on_raise
end
def test_logger_does_not_mutate_app_return
response = []
response = [].freeze
app = TestApp.new(response)
logger = TestLogger.new(app: app)
assert_no_changes("response") do
logger.call("REQUEST_METHOD" => "GET")
assert_nothing_raised do
logger.call("REQUEST_METHOD" => "GET")
end
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册