提交 bae2292d 编写于 作者: Y Yves Senn

Merge pull request #21982 from yui-knk/test_suppress_warning

Suppress warnings of `assigned but unused variable`
......@@ -304,8 +304,6 @@ def permit!
end
def test_where_with_unsupported_arguments
author = authors(:david)
assert_raises(ArgumentError) { Author.where(42) }
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册