From c2bc569d2d538584cfc081e5775de17cdf2f054b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 13 Feb 2017 15:58:58 -0300 Subject: Enable frozen_string_literal in all files in arel --- test/visitors/test_bind_visitor.rb | 1 + test/visitors/test_depth_first.rb | 1 + test/visitors/test_dispatch_contamination.rb | 1 + test/visitors/test_dot.rb | 1 + test/visitors/test_ibm_db.rb | 1 + test/visitors/test_informix.rb | 1 + test/visitors/test_mssql.rb | 1 + test/visitors/test_mysql.rb | 1 + test/visitors/test_oracle.rb | 1 + test/visitors/test_oracle12.rb | 1 + test/visitors/test_postgres.rb | 1 + test/visitors/test_sqlite.rb | 1 + test/visitors/test_to_sql.rb | 1 + 13 files changed, 13 insertions(+) (limited to 'test/visitors') diff --git a/test/visitors/test_bind_visitor.rb b/test/visitors/test_bind_visitor.rb index f0007cabbf..3e0578a6a1 100644 --- a/test/visitors/test_bind_visitor.rb +++ b/test/visitors/test_bind_visitor.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' require 'arel/visitors/bind_visitor' require 'support/fake_record' diff --git a/test/visitors/test_depth_first.rb b/test/visitors/test_depth_first.rb index 81220b63a4..0c7f7ccd34 100644 --- a/test/visitors/test_depth_first.rb +++ b/test/visitors/test_depth_first.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' require 'set' diff --git a/test/visitors/test_dispatch_contamination.rb b/test/visitors/test_dispatch_contamination.rb index d3c9e8af2e..6422a6dff3 100644 --- a/test/visitors/test_dispatch_contamination.rb +++ b/test/visitors/test_dispatch_contamination.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_dot.rb b/test/visitors/test_dot.rb index 179a2c297c..1d27d1a5cb 100644 --- a/test/visitors/test_dot.rb +++ b/test/visitors/test_dot.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_ibm_db.rb b/test/visitors/test_ibm_db.rb index f1aa7612be..81a5713183 100644 --- a/test/visitors/test_ibm_db.rb +++ b/test/visitors/test_ibm_db.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_informix.rb b/test/visitors/test_informix.rb index 04c42f8f60..9d15979219 100644 --- a/test/visitors/test_informix.rb +++ b/test/visitors/test_informix.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_mssql.rb b/test/visitors/test_mssql.rb index fe228bce4b..0d0753b14b 100644 --- a/test/visitors/test_mssql.rb +++ b/test/visitors/test_mssql.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_mysql.rb b/test/visitors/test_mysql.rb index 30dcea3d36..9a205311d4 100644 --- a/test/visitors/test_mysql.rb +++ b/test/visitors/test_mysql.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_oracle.rb b/test/visitors/test_oracle.rb index 4c22be5cbb..b1921f0cbc 100644 --- a/test/visitors/test_oracle.rb +++ b/test/visitors/test_oracle.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_oracle12.rb b/test/visitors/test_oracle12.rb index 43235fd72c..c908a51d4f 100644 --- a/test/visitors/test_oracle12.rb +++ b/test/visitors/test_oracle12.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_postgres.rb b/test/visitors/test_postgres.rb index f97b734b7d..26cc721871 100644 --- a/test/visitors/test_postgres.rb +++ b/test/visitors/test_postgres.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_sqlite.rb b/test/visitors/test_sqlite.rb index a9f3501f20..2e145b3faa 100644 --- a/test/visitors/test_sqlite.rb +++ b/test/visitors/test_sqlite.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index e31d60366b..07458c1dc5 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' require 'set' -- cgit v1.2.3