diff options
author | Xavier Noria <fxn@hashref.com> | 2015-01-18 22:45:44 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2015-01-18 22:45:44 +0100 |
commit | 9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac (patch) | |
tree | 2345a11a952cde006b04b069dea6fcc3826f3bbf /activerecord/test/cases/adapters/postgresql/uuid_test.rb | |
parent | ea721d7027c16f64c47395546c67858060a273e3 (diff) | |
parent | bd78cc8833e7e7ee5f0812325d6451eed567ce62 (diff) | |
download | rails-9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac.tar.gz rails-9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac.tar.bz2 rails-9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac.zip |
Merge pull request #18586 from kamipo/should_escape_regexp_wildcard_character
Should escape regexp wildcard character `.`
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/uuid_test.rb')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/uuid_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/uuid_test.rb b/activerecord/test/cases/adapters/postgresql/uuid_test.rb index 7d2fae69d5..d328f17a3f 100644 --- a/activerecord/test/cases/adapters/postgresql/uuid_test.rb +++ b/activerecord/test/cases/adapters/postgresql/uuid_test.rb @@ -114,7 +114,7 @@ class PostgresqlUUIDTest < ActiveRecord::TestCase def test_schema_dump_with_shorthand output = dump_table_schema "uuid_data_type" - assert_match %r{t.uuid "guid"}, output + assert_match %r{t\.uuid "guid"}, output end def test_uniqueness_validation_ignores_uuid |