aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-02-14 12:11:39 -0300
committerGitHub <noreply@github.com>2017-02-14 12:11:39 -0300
commit208fe3690d840d0ee65b1395a891886e58fd3f4b (patch)
tree861da096e3d26abcb17c82b4d9a8c76d5ba9a1a3 /test/visitors
parentd6af2090b16f7d061aa43913d610c6fada58b7e2 (diff)
parentc2bc569d2d538584cfc081e5775de17cdf2f054b (diff)
downloadrails-208fe3690d840d0ee65b1395a891886e58fd3f4b.tar.gz
rails-208fe3690d840d0ee65b1395a891886e58fd3f4b.tar.bz2
rails-208fe3690d840d0ee65b1395a891886e58fd3f4b.zip
Merge pull request #471 from rails/frozen-string-literal
Enable frozen_string_literal in all files in arel
Diffstat (limited to 'test/visitors')
-rw-r--r--test/visitors/test_bind_visitor.rb1
-rw-r--r--test/visitors/test_depth_first.rb1
-rw-r--r--test/visitors/test_dispatch_contamination.rb1
-rw-r--r--test/visitors/test_dot.rb1
-rw-r--r--test/visitors/test_ibm_db.rb1
-rw-r--r--test/visitors/test_informix.rb1
-rw-r--r--test/visitors/test_mssql.rb1
-rw-r--r--test/visitors/test_mysql.rb1
-rw-r--r--test/visitors/test_oracle.rb1
-rw-r--r--test/visitors/test_oracle12.rb1
-rw-r--r--test/visitors/test_postgres.rb1
-rw-r--r--test/visitors/test_sqlite.rb1
-rw-r--r--test/visitors/test_to_sql.rb1
13 files changed, 13 insertions, 0 deletions
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'