提交 b79c1314 编写于 作者: A Akshay Khole

fix to remove warning on postgres adapter test.

Warning was: "/vagrant/rails/activerecord/test/cases/adapters/postgresql/uuid_test.rb:63:
warning: ambiguous first argument; put parentheses or even spaces"
上级 20549051
......@@ -60,7 +60,7 @@ def test_pk_and_sequence_for_uuid_primary_key
def test_schema_dumper_for_uuid_primary_key
schema = StringIO.new
ActiveRecord::SchemaDumper.dump(@connection, schema)
assert_match /\bcreate_table "pg_uuids", id: :uuid\b/, schema.string
assert_match(/\bcreate_table "pg_uuids", id: :uuid\b/, schema.string)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册