summaryrefslogtreecommitdiff
path: root/test/psych
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych')
-rw-r--r--test/psych/handlers/test_recorder.rb1
-rw-r--r--test/psych/helper.rb1
-rw-r--r--test/psych/json/test_stream.rb1
-rw-r--r--test/psych/nodes/test_enumerable.rb1
-rw-r--r--test/psych/test_alias_and_anchor.rb1
-rw-r--r--test/psych/test_array.rb1
-rw-r--r--test/psych/test_boolean.rb1
-rw-r--r--test/psych/test_class.rb1
-rw-r--r--test/psych/test_coder.rb1
-rw-r--r--test/psych/test_date_time.rb1
-rw-r--r--test/psych/test_deprecated.rb1
-rw-r--r--test/psych/test_document.rb1
-rw-r--r--test/psych/test_emitter.rb1
-rw-r--r--test/psych/test_encoding.rb1
-rw-r--r--test/psych/test_exception.rb1
-rw-r--r--test/psych/test_hash.rb1
-rw-r--r--test/psych/test_json_tree.rb1
-rw-r--r--test/psych/test_marshalable.rb1
-rw-r--r--test/psych/test_merge_keys.rb1
-rw-r--r--test/psych/test_nil.rb1
-rw-r--r--test/psych/test_null.rb1
-rw-r--r--test/psych/test_numeric.rb1
-rw-r--r--test/psych/test_object.rb1
-rw-r--r--test/psych/test_object_references.rb1
-rw-r--r--test/psych/test_omap.rb1
-rw-r--r--test/psych/test_parser.rb1
-rw-r--r--test/psych/test_psych.rb1
-rw-r--r--test/psych/test_safe_load.rb1
-rw-r--r--test/psych/test_scalar.rb1
-rw-r--r--test/psych/test_scalar_scanner.rb1
-rw-r--r--test/psych/test_serialize_subclasses.rb1
-rw-r--r--test/psych/test_set.rb1
-rw-r--r--test/psych/test_stream.rb1
-rw-r--r--test/psych/test_string.rb1
-rw-r--r--test/psych/test_struct.rb1
-rw-r--r--test/psych/test_symbol.rb1
-rw-r--r--test/psych/test_tainted.rb1
-rw-r--r--test/psych/test_to_yaml_properties.rb1
-rw-r--r--test/psych/test_tree_builder.rb1
-rw-r--r--test/psych/test_yaml.rb1
-rw-r--r--test/psych/test_yamldbm.rb1
-rw-r--r--test/psych/test_yamlstore.rb1
-rw-r--r--test/psych/visitors/test_depth_first.rb1
-rw-r--r--test/psych/visitors/test_emitter.rb1
-rw-r--r--test/psych/visitors/test_to_ruby.rb1
-rw-r--r--test/psych/visitors/test_yaml_tree.rb1
46 files changed, 46 insertions, 0 deletions
diff --git a/test/psych/handlers/test_recorder.rb b/test/psych/handlers/test_recorder.rb
index 96b8eac1fc6..17c7c6d0a02 100644
--- a/test/psych/handlers/test_recorder.rb
+++ b/test/psych/handlers/test_recorder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
require 'psych/handlers/recorder'
diff --git a/test/psych/helper.rb b/test/psych/helper.rb
index 3bbb4593201..498cdf8b090 100644
--- a/test/psych/helper.rb
+++ b/test/psych/helper.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'minitest/autorun'
require 'stringio'
require 'tempfile'
diff --git a/test/psych/json/test_stream.rb b/test/psych/json/test_stream.rb
index b0c33e6a2aa..519c114b293 100644
--- a/test/psych/json/test_stream.rb
+++ b/test/psych/json/test_stream.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
module Psych
diff --git a/test/psych/nodes/test_enumerable.rb b/test/psych/nodes/test_enumerable.rb
index 19cf94bd513..2f4e1f3bd0f 100644
--- a/test/psych/nodes/test_enumerable.rb
+++ b/test/psych/nodes/test_enumerable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
module Psych
diff --git a/test/psych/test_alias_and_anchor.rb b/test/psych/test_alias_and_anchor.rb
index 9e2c24013d3..ed009605ca4 100644
--- a/test/psych/test_alias_and_anchor.rb
+++ b/test/psych/test_alias_and_anchor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
class ObjectWithInstanceVariables
diff --git a/test/psych/test_array.rb b/test/psych/test_array.rb
index 960ffd71d8e..f1e71fb16c8 100644
--- a/test/psych/test_array.rb
+++ b/test/psych/test_array.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_boolean.rb b/test/psych/test_boolean.rb
index b656f4f90e8..b2803a65502 100644
--- a/test/psych/test_boolean.rb
+++ b/test/psych/test_boolean.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_class.rb b/test/psych/test_class.rb
index c7f964cc6d2..4e1fd4a1d69 100644
--- a/test/psych/test_class.rb
+++ b/test/psych/test_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_coder.rb b/test/psych/test_coder.rb
index e3213e2faac..e578d55f2d0 100644
--- a/test/psych/test_coder.rb
+++ b/test/psych/test_coder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_date_time.rb b/test/psych/test_date_time.rb
index 72150ad7db4..433fbf3d265 100644
--- a/test/psych/test_date_time.rb
+++ b/test/psych/test_date_time.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'date'
diff --git a/test/psych/test_deprecated.rb b/test/psych/test_deprecated.rb
index fd2d3299e30..a806f6b9726 100644
--- a/test/psych/test_deprecated.rb
+++ b/test/psych/test_deprecated.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_document.rb b/test/psych/test_document.rb
index bd77d60084f..97de2e15ec3 100644
--- a/test/psych/test_document.rb
+++ b/test/psych/test_document.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_emitter.rb b/test/psych/test_emitter.rb
index b19501932b4..54b9b356e82 100644
--- a/test/psych/test_emitter.rb
+++ b/test/psych/test_emitter.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require_relative 'helper'
diff --git a/test/psych/test_encoding.rb b/test/psych/test_encoding.rb
index 544337d4c0a..13ca5dbc741 100644
--- a/test/psych/test_encoding.rb
+++ b/test/psych/test_encoding.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require_relative 'helper'
diff --git a/test/psych/test_exception.rb b/test/psych/test_exception.rb
index 30dfb24f3b3..85fa78f5df4 100644
--- a/test/psych/test_exception.rb
+++ b/test/psych/test_exception.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_hash.rb b/test/psych/test_hash.rb
index e2a312901a6..b449ce49e37 100644
--- a/test/psych/test_hash.rb
+++ b/test/psych/test_hash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_json_tree.rb b/test/psych/test_json_tree.rb
index a23fc1ac8f3..8bb850b1388 100644
--- a/test/psych/test_json_tree.rb
+++ b/test/psych/test_json_tree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_marshalable.rb b/test/psych/test_marshalable.rb
index 7df74ee846b..544947a521b 100644
--- a/test/psych/test_marshalable.rb
+++ b/test/psych/test_marshalable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'delegate'
diff --git a/test/psych/test_merge_keys.rb b/test/psych/test_merge_keys.rb
index 1620a6a4e3d..76245ca7b53 100644
--- a/test/psych/test_merge_keys.rb
+++ b/test/psych/test_merge_keys.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_nil.rb b/test/psych/test_nil.rb
index 3dbf56279ad..3d4fa88eaa4 100644
--- a/test/psych/test_nil.rb
+++ b/test/psych/test_nil.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_null.rb b/test/psych/test_null.rb
index 17255504433..d8ccb7056fd 100644
--- a/test/psych/test_null.rb
+++ b/test/psych/test_null.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_numeric.rb b/test/psych/test_numeric.rb
index 5378b4aaad0..9d8b74f7caa 100644
--- a/test/psych/test_numeric.rb
+++ b/test/psych/test_numeric.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'bigdecimal'
diff --git a/test/psych/test_object.rb b/test/psych/test_object.rb
index 5e3ce8294fe..ed1ccd9bf89 100644
--- a/test/psych/test_object.rb
+++ b/test/psych/test_object.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_object_references.rb b/test/psych/test_object_references.rb
index 273b466b0cd..1300bfc1db5 100644
--- a/test/psych/test_object_references.rb
+++ b/test/psych/test_object_references.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_omap.rb b/test/psych/test_omap.rb
index 36edc26c49f..80791aa9187 100644
--- a/test/psych/test_omap.rb
+++ b/test/psych/test_omap.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_parser.rb b/test/psych/test_parser.rb
index 0abe0dd398d..26aba0543b9 100644
--- a/test/psych/test_parser.rb
+++ b/test/psych/test_parser.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
require_relative 'helper'
diff --git a/test/psych/test_psych.rb b/test/psych/test_psych.rb
index 05a93438bc1..7de9e07fdcf 100644
--- a/test/psych/test_psych.rb
+++ b/test/psych/test_psych.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'stringio'
diff --git a/test/psych/test_safe_load.rb b/test/psych/test_safe_load.rb
index dd299c0ebf4..b69c54c1999 100644
--- a/test/psych/test_safe_load.rb
+++ b/test/psych/test_safe_load.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
module Psych
diff --git a/test/psych/test_scalar.rb b/test/psych/test_scalar.rb
index e6b76975a6a..4353ec33fa7 100644
--- a/test/psych/test_scalar.rb
+++ b/test/psych/test_scalar.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require_relative 'helper'
diff --git a/test/psych/test_scalar_scanner.rb b/test/psych/test_scalar_scanner.rb
index e8e423cb053..7ad18c557bc 100644
--- a/test/psych/test_scalar_scanner.rb
+++ b/test/psych/test_scalar_scanner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'date'
diff --git a/test/psych/test_serialize_subclasses.rb b/test/psych/test_serialize_subclasses.rb
index f597b7a0515..be209edf2f3 100644
--- a/test/psych/test_serialize_subclasses.rb
+++ b/test/psych/test_serialize_subclasses.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_set.rb b/test/psych/test_set.rb
index 921fe2284f4..0eb999cb2f0 100644
--- a/test/psych/test_set.rb
+++ b/test/psych/test_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_stream.rb b/test/psych/test_stream.rb
index 7e41178e34f..1b054289eab 100644
--- a/test/psych/test_stream.rb
+++ b/test/psych/test_stream.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_string.rb b/test/psych/test_string.rb
index a8ae55cabe8..51aef408584 100644
--- a/test/psych/test_string.rb
+++ b/test/psych/test_string.rb
@@ -1,4 +1,5 @@
# encoding: UTF-8
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_struct.rb b/test/psych/test_struct.rb
index 8c7f2513ce4..b7968d31890 100644
--- a/test/psych/test_struct.rb
+++ b/test/psych/test_struct.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
class PsychStructWithIvar < Struct.new(:foo)
diff --git a/test/psych/test_symbol.rb b/test/psych/test_symbol.rb
index 558a6728861..a98881cf4b6 100644
--- a/test/psych/test_symbol.rb
+++ b/test/psych/test_symbol.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_tainted.rb b/test/psych/test_tainted.rb
index 37fc5b2b803..870583323dd 100644
--- a/test/psych/test_tainted.rb
+++ b/test/psych/test_tainted.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_to_yaml_properties.rb b/test/psych/test_to_yaml_properties.rb
index 724aab4f0eb..8a29b6a9b94 100644
--- a/test/psych/test_to_yaml_properties.rb
+++ b/test/psych/test_to_yaml_properties.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_tree_builder.rb b/test/psych/test_tree_builder.rb
index 7ad3ddd8a04..09f1ee30c99 100644
--- a/test/psych/test_tree_builder.rb
+++ b/test/psych/test_tree_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module Psych
diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb
index e6281753a50..f8e9e2f9551 100644
--- a/test/psych/test_yaml.rb
+++ b/test/psych/test_yaml.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii; mode: ruby; ruby-indent-level: 4; tab-width: 4 -*-
+# frozen_string_literal: false
# vim:sw=4:ts=4
# $Id$
#
diff --git a/test/psych/test_yamldbm.rb b/test/psych/test_yamldbm.rb
index 62c88b753eb..71ee04f8631 100644
--- a/test/psych/test_yamldbm.rb
+++ b/test/psych/test_yamldbm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'tmpdir'
diff --git a/test/psych/test_yamlstore.rb b/test/psych/test_yamlstore.rb
index 94f1330d37a..a9ce652ced3 100644
--- a/test/psych/test_yamlstore.rb
+++ b/test/psych/test_yamlstore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'yaml/store'
require 'tmpdir'
diff --git a/test/psych/visitors/test_depth_first.rb b/test/psych/visitors/test_depth_first.rb
index 837c8e8c117..8072c26b579 100644
--- a/test/psych/visitors/test_depth_first.rb
+++ b/test/psych/visitors/test_depth_first.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
module Psych
diff --git a/test/psych/visitors/test_emitter.rb b/test/psych/visitors/test_emitter.rb
index 780c9536931..9317855bbb3 100644
--- a/test/psych/visitors/test_emitter.rb
+++ b/test/psych/visitors/test_emitter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
module Psych
diff --git a/test/psych/visitors/test_to_ruby.rb b/test/psych/visitors/test_to_ruby.rb
index 19e5365244d..8878ea22b24 100644
--- a/test/psych/visitors/test_to_ruby.rb
+++ b/test/psych/visitors/test_to_ruby.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'psych/helper'
module Psych
diff --git a/test/psych/visitors/test_yaml_tree.rb b/test/psych/visitors/test_yaml_tree.rb
index 40702bce796..b3890bcd724 100644
--- a/test/psych/visitors/test_yaml_tree.rb
+++ b/test/psych/visitors/test_yaml_tree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'psych/helper'
module Psych