Consolidate duplicated elsif branch
This commit is contained in:
parent
b2672c739b
commit
37221c6e0c
@ -148,12 +148,7 @@ def test_schema_dump_includes_limit_constraint_for_integer_columns
|
||||
assert_match %r{c_int_4.*limit: 4}, output
|
||||
end
|
||||
|
||||
if current_adapter?(:SQLite3Adapter)
|
||||
assert_match %r{c_int_5.*limit: 5}, output
|
||||
assert_match %r{c_int_6.*limit: 6}, output
|
||||
assert_match %r{c_int_7.*limit: 7}, output
|
||||
assert_match %r{c_int_8.*limit: 8}, output
|
||||
elsif current_adapter?(:OracleAdapter)
|
||||
if current_adapter?(:SQLite3Adapter, :OracleAdapter)
|
||||
assert_match %r{c_int_5.*limit: 5}, output
|
||||
assert_match %r{c_int_6.*limit: 6}, output
|
||||
assert_match %r{c_int_7.*limit: 7}, output
|
||||
|
Loading…
Reference in New Issue
Block a user