From 03224b12b8e81b23d529614b5f82166825e185d6 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 22 Mar 2017 14:35:41 +0000 Subject: Suppress `WARNING: nonstandard use of \\ in a string literal` warning by setting `escape_string_warning = off` --- activerecord/test/cases/adapters/postgresql/bytea_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/cases/adapters/postgresql') diff --git a/activerecord/test/cases/adapters/postgresql/bytea_test.rb b/activerecord/test/cases/adapters/postgresql/bytea_test.rb index 505c297cd4..99175e8091 100644 --- a/activerecord/test/cases/adapters/postgresql/bytea_test.rb +++ b/activerecord/test/cases/adapters/postgresql/bytea_test.rb @@ -89,6 +89,7 @@ class PostgresqlByteaTest < ActiveRecord::PostgreSQLTestCase Thread.new do other_conn = ActiveRecord::Base.connection other_conn.execute("SET standard_conforming_strings = off") + other_conn.execute("SET escape_string_warning = off") end.join test_via_to_sql -- cgit v1.2.3