aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-07-31 19:41:45 -0400
committerGitHub <noreply@github.com>2017-07-31 19:41:45 -0400
commit34b07505d8b3b5066aeae2337885fbfff24a35bb (patch)
tree4a5f1f60e34d69173e44325cab48271af0ecd9e9 /activerecord
parentff657e73f0b61a7e224a9f158467ed2ec915bd9b (diff)
parent5bef4c64f0f77cce4bfe6a201454e39a6fc993be (diff)
downloadrails-34b07505d8b3b5066aeae2337885fbfff24a35bb.tar.gz
rails-34b07505d8b3b5066aeae2337885fbfff24a35bb.tar.bz2
rails-34b07505d8b3b5066aeae2337885fbfff24a35bb.zip
Merge pull request #30024 from kamipo/remove_redundant_unless_branch
Remove redundant `unless current_adapter?(:OracleAdapter)`
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/comment_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/comment_test.rb b/activerecord/test/cases/comment_test.rb
index 9ab6607668..f2ec5d6518 100644
--- a/activerecord/test/cases/comment_test.rb
+++ b/activerecord/test/cases/comment_test.rb
@@ -119,8 +119,6 @@ if ActiveRecord::Base.connection.supports_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