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/nodes/test_and.rb | 1 + test/nodes/test_as.rb | 1 + test/nodes/test_ascending.rb | 1 + test/nodes/test_bin.rb | 1 + test/nodes/test_binary.rb | 1 + test/nodes/test_bind_param.rb | 1 + test/nodes/test_case.rb | 1 + test/nodes/test_casted.rb | 1 + test/nodes/test_count.rb | 1 + test/nodes/test_delete_statement.rb | 1 + test/nodes/test_descending.rb | 1 + test/nodes/test_distinct.rb | 1 + test/nodes/test_equality.rb | 1 + test/nodes/test_extract.rb | 1 + test/nodes/test_false.rb | 1 + test/nodes/test_grouping.rb | 1 + test/nodes/test_infix_operation.rb | 1 + test/nodes/test_insert_statement.rb | 1 + test/nodes/test_named_function.rb | 1 + test/nodes/test_node.rb | 1 + test/nodes/test_not.rb | 1 + test/nodes/test_or.rb | 1 + test/nodes/test_over.rb | 1 + test/nodes/test_select_core.rb | 1 + test/nodes/test_select_statement.rb | 1 + test/nodes/test_sql_literal.rb | 1 + test/nodes/test_sum.rb | 1 + test/nodes/test_table_alias.rb | 1 + test/nodes/test_true.rb | 1 + test/nodes/test_unary_operation.rb | 1 + test/nodes/test_update_statement.rb | 1 + test/nodes/test_window.rb | 1 + 32 files changed, 32 insertions(+) (limited to 'test/nodes') diff --git a/test/nodes/test_and.rb b/test/nodes/test_and.rb index 88d6d61531..8d1980269c 100644 --- a/test/nodes/test_and.rb +++ b/test/nodes/test_and.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_as.rb b/test/nodes/test_as.rb index b1dcccf7c7..1240d2333f 100644 --- a/test/nodes/test_as.rb +++ b/test/nodes/test_as.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_ascending.rb b/test/nodes/test_ascending.rb index 2991d46583..9b0e5f0c18 100644 --- a/test/nodes/test_ascending.rb +++ b/test/nodes/test_ascending.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_bin.rb b/test/nodes/test_bin.rb index 0dcc5f7bb8..af27d827fd 100644 --- a/test/nodes/test_bin.rb +++ b/test/nodes/test_bin.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_binary.rb b/test/nodes/test_binary.rb index 7e25a21151..8e3025a440 100644 --- a/test/nodes/test_binary.rb +++ b/test/nodes/test_binary.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' require 'set' diff --git a/test/nodes/test_bind_param.rb b/test/nodes/test_bind_param.rb index ea008f4c99..011de6410c 100644 --- a/test/nodes/test_bind_param.rb +++ b/test/nodes/test_bind_param.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_case.rb b/test/nodes/test_case.rb index a813ec7e69..21ff670e05 100644 --- a/test/nodes/test_case.rb +++ b/test/nodes/test_case.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_casted.rb b/test/nodes/test_casted.rb index 6d775e17ec..748879a538 100644 --- a/test/nodes/test_casted.rb +++ b/test/nodes/test_casted.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_count.rb b/test/nodes/test_count.rb index a9a329420e..85e93b1927 100644 --- a/test/nodes/test_count.rb +++ b/test/nodes/test_count.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::Count do diff --git a/test/nodes/test_delete_statement.rb b/test/nodes/test_delete_statement.rb index 4bd5446ba2..5ce51a9ae8 100644 --- a/test/nodes/test_delete_statement.rb +++ b/test/nodes/test_delete_statement.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::DeleteStatement do diff --git a/test/nodes/test_descending.rb b/test/nodes/test_descending.rb index fce71d69e9..98de94910f 100644 --- a/test/nodes/test_descending.rb +++ b/test/nodes/test_descending.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_distinct.rb b/test/nodes/test_distinct.rb index ffa8a68e6c..6c51b99946 100644 --- a/test/nodes/test_distinct.rb +++ b/test/nodes/test_distinct.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_equality.rb b/test/nodes/test_equality.rb index 42a156b051..83f73f1789 100644 --- a/test/nodes/test_equality.rb +++ b/test/nodes/test_equality.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_extract.rb b/test/nodes/test_extract.rb index eb98553268..307ef2572c 100644 --- a/test/nodes/test_extract.rb +++ b/test/nodes/test_extract.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::Extract do diff --git a/test/nodes/test_false.rb b/test/nodes/test_false.rb index a2a8866680..da65e71547 100644 --- a/test/nodes/test_false.rb +++ b/test/nodes/test_false.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_grouping.rb b/test/nodes/test_grouping.rb index febf0bee40..8379336109 100644 --- a/test/nodes/test_grouping.rb +++ b/test/nodes/test_grouping.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_infix_operation.rb b/test/nodes/test_infix_operation.rb index 40616024e5..b6c891a5c0 100644 --- a/test/nodes/test_infix_operation.rb +++ b/test/nodes/test_infix_operation.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_insert_statement.rb b/test/nodes/test_insert_statement.rb index e0a5696ea4..af2c9541cb 100644 --- a/test/nodes/test_insert_statement.rb +++ b/test/nodes/test_insert_statement.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::InsertStatement do diff --git a/test/nodes/test_named_function.rb b/test/nodes/test_named_function.rb index 33830d9d43..1f765e822d 100644 --- a/test/nodes/test_named_function.rb +++ b/test/nodes/test_named_function.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_node.rb b/test/nodes/test_node.rb index 056df7a584..2fd27600be 100644 --- a/test/nodes/test_node.rb +++ b/test/nodes/test_node.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_not.rb b/test/nodes/test_not.rb index a08d037445..cd027cec16 100644 --- a/test/nodes/test_not.rb +++ b/test/nodes/test_not.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_or.rb b/test/nodes/test_or.rb index 3e7bcc9379..6bc02c0ad3 100644 --- a/test/nodes/test_or.rb +++ b/test/nodes/test_or.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_over.rb b/test/nodes/test_over.rb index 0aac00b230..183c02fad3 100644 --- a/test/nodes/test_over.rb +++ b/test/nodes/test_over.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::Over do diff --git a/test/nodes/test_select_core.rb b/test/nodes/test_select_core.rb index 4114bcf4ff..f868a2f940 100644 --- a/test/nodes/test_select_core.rb +++ b/test/nodes/test_select_core.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_select_statement.rb b/test/nodes/test_select_statement.rb index 3e4fcc0c07..ae209b86fd 100644 --- a/test/nodes/test_select_statement.rb +++ b/test/nodes/test_select_statement.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::SelectStatement do diff --git a/test/nodes/test_sql_literal.rb b/test/nodes/test_sql_literal.rb index c09e5882d5..74e4f2cc90 100644 --- a/test/nodes/test_sql_literal.rb +++ b/test/nodes/test_sql_literal.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' require 'yaml' diff --git a/test/nodes/test_sum.rb b/test/nodes/test_sum.rb index d387e7f9ef..e1b65abbef 100644 --- a/test/nodes/test_sum.rb +++ b/test/nodes/test_sum.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::Sum do diff --git a/test/nodes/test_table_alias.rb b/test/nodes/test_table_alias.rb index 57c9a42fc6..39040e6352 100644 --- a/test/nodes/test_table_alias.rb +++ b/test/nodes/test_table_alias.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' require 'ostruct' diff --git a/test/nodes/test_true.rb b/test/nodes/test_true.rb index ed4743a63b..35b4d0a14d 100644 --- a/test/nodes/test_true.rb +++ b/test/nodes/test_true.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_unary_operation.rb b/test/nodes/test_unary_operation.rb index d89c10b431..bde9594a2c 100644 --- a/test/nodes/test_unary_operation.rb +++ b/test/nodes/test_unary_operation.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel diff --git a/test/nodes/test_update_statement.rb b/test/nodes/test_update_statement.rb index 920dc6e3ef..09a4a09074 100644 --- a/test/nodes/test_update_statement.rb +++ b/test/nodes/test_update_statement.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' describe Arel::Nodes::UpdateStatement do diff --git a/test/nodes/test_window.rb b/test/nodes/test_window.rb index 9ec42be59f..b4ad22edb5 100644 --- a/test/nodes/test_window.rb +++ b/test/nodes/test_window.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require 'helper' module Arel -- cgit v1.2.3