Permalink
Browse files

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"
  • Loading branch information...
1 parent 2054905 commit b79c1314a92b3b7a85db4594ec109c14a4ad3bc8 @chmod600 chmod600 committed May 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/adapters/postgresql/uuid_test.rb
@@ -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

0 comments on commit b79c131

Please sign in to comment.