提交 34b07505 编写于 作者: S Sean Griffin 提交者: GitHub

Merge pull request #30024 from kamipo/remove_redundant_unless_branch

Remove redundant `unless current_adapter?(:OracleAdapter)`
......@@ -119,8 +119,6 @@ def test_schema_dump_with_comments
assert_match %r[t\.integer\s+"rating",\s+precision: 38,\s+comment: "I am running out of imagination"], output
else
assert_match %r[t\.integer\s+"rating",\s+comment: "I am running out of imagination"], output
end
unless current_adapter?(:OracleAdapter)
assert_match %r[t\.index\s+.+\s+comment: "\\\"Very important\\\" index that powers all the performance.\\nAnd it's fun!"], output
assert_match %r[t\.index\s+.+\s+name: "idx_obvious",\s+comment: "We need to see obvious comments"], output
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册