diff options
author | Matthew Draper <matthew@trebex.net> | 2015-12-18 14:52:05 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2015-12-18 14:52:05 +1030 |
commit | e0e918609fc394e4c36b73bb2b0a485612789d6f (patch) | |
tree | 9e7735a2405a8ed5835ec3ee549a9b8104f1274d /activerecord/test | |
parent | 093b3d6a967fe9e992a6de9527908e15345eb633 (diff) | |
parent | 835617b71d2e829c27dbd16a82f22c186c821a0f (diff) | |
download | rails-e0e918609fc394e4c36b73bb2b0a485612789d6f.tar.gz rails-e0e918609fc394e4c36b73bb2b0a485612789d6f.tar.bz2 rails-e0e918609fc394e4c36b73bb2b0a485612789d6f.zip |
Merge pull request #20815 from byroot/do-not-include-column-limit-if-it-is-default
Do not include column limit in schema.rb if it matches the default
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/schema_dumper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index f98c9946e4..a7735a2c7e 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -118,7 +118,7 @@ class SchemaDumperTest < ActiveRecord::TestCase assert_match %r{c_int_4.*}, output assert_no_match %r{c_int_4.*limit:}, output elsif current_adapter?(:Mysql2Adapter) - assert_match %r{c_int_without_limit.*limit: 4}, output + assert_match %r{c_int_without_limit"$}, output assert_match %r{c_int_1.*limit: 1}, output assert_match %r{c_int_2.*limit: 2}, output |