aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/comment_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-02-13 12:04:50 -0300
committerGitHub <noreply@github.com>2017-02-13 12:04:50 -0300
commitfab91c684be248a36446b6c389865594707e7d57 (patch)
tree645fdbd41d11fa28137d1dbfa9ac48b0919c1800 /activerecord/test/cases/comment_test.rb
parentfd6d286edac93acc70e7cccdaca4ba31064cdf25 (diff)
parent6d37cd918dba5b492194afbc1094a6503c88f379 (diff)
downloadrails-fab91c684be248a36446b6c389865594707e7d57.tar.gz
rails-fab91c684be248a36446b6c389865594707e7d57.tar.bz2
rails-fab91c684be248a36446b6c389865594707e7d57.zip
Merge pull request #27981 from kamipo/omit_redundant_using_btree
Omit redundant `using: :btree` for schema dumping
Diffstat (limited to 'activerecord/test/cases/comment_test.rb')
-rw-r--r--activerecord/test/cases/comment_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/comment_test.rb b/activerecord/test/cases/comment_test.rb
index a625299e8d..63f67a9a16 100644
--- a/activerecord/test/cases/comment_test.rb
+++ b/activerecord/test/cases/comment_test.rb
@@ -113,7 +113,7 @@ if ActiveRecord::Base.connection.supports_comments?
assert_match %r[t\.string\s+"content",\s+comment: "Whoa, content describes itself!"], output
assert_match %r[t\.integer\s+"rating",\s+comment: "I am running out of imagination"], output
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
+ assert_match %r[t\.index\s+.+\s+name: "idx_obvious",\s+comment: "We need to see obvious comments"], output
end
def test_schema_dump_omits_blank_comments