summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/-ext-/array/test_resize.rb1
-rw-r--r--test/-ext-/bignum/test_big2str.rb1
-rw-r--r--test/-ext-/bignum/test_bigzero.rb1
-rw-r--r--test/-ext-/bignum/test_div.rb1
-rw-r--r--test/-ext-/bignum/test_mul.rb1
-rw-r--r--test/-ext-/bignum/test_pack.rb1
-rw-r--r--test/-ext-/bignum/test_str2big.rb1
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb1
-rw-r--r--test/-ext-/class/test_class2name.rb1
-rw-r--r--test/-ext-/debug/test_debug.rb1
-rw-r--r--test/-ext-/debug/test_profile_frames.rb1
-rw-r--r--test/-ext-/exception/test_data_error.rb1
-rw-r--r--test/-ext-/exception/test_enc_raise.rb1
-rw-r--r--test/-ext-/exception/test_ensured.rb1
-rw-r--r--test/-ext-/file/test_stat.rb1
-rw-r--r--test/-ext-/float/test_nextafter.rb1
-rw-r--r--test/-ext-/funcall/test_passing_block.rb1
-rw-r--r--test/-ext-/gvl/test_last_thread.rb1
-rw-r--r--test/-ext-/hash/test_delete.rb1
-rw-r--r--test/-ext-/iseq_load/test_iseq_load.rb1
-rw-r--r--test/-ext-/iter/test_iter_break.rb1
-rw-r--r--test/-ext-/iter/test_yield_block.rb1
-rw-r--r--test/-ext-/load/test_dot_dot.rb1
-rw-r--r--test/-ext-/marshal/test_internal_ivar.rb1
-rw-r--r--test/-ext-/marshal/test_usrmarshal.rb1
-rw-r--r--test/-ext-/method/test_arity.rb1
-rw-r--r--test/-ext-/num2int/test_num2int.rb1
-rw-r--r--test/-ext-/path_to_class/test_path_to_class.rb1
-rw-r--r--test/-ext-/popen_deadlock/test_popen_deadlock.rb1
-rw-r--r--test/-ext-/postponed_job/test_postponed_job.rb1
-rw-r--r--test/-ext-/proc/test_bmethod.rb1
-rw-r--r--test/-ext-/rational/test_rat.rb1
-rw-r--r--test/-ext-/st/test_foreach.rb1
-rw-r--r--test/-ext-/st/test_numhash.rb1
-rw-r--r--test/-ext-/st/test_update.rb1
-rw-r--r--test/-ext-/string/test_coderange.rb1
-rw-r--r--test/-ext-/string/test_cstr.rb1
-rw-r--r--test/-ext-/string/test_ellipsize.rb1
-rw-r--r--test/-ext-/string/test_enc_associate.rb1
-rw-r--r--test/-ext-/string/test_enc_str_buf_cat.rb1
-rw-r--r--test/-ext-/string/test_fstring.rb1
-rw-r--r--test/-ext-/string/test_modify_expand.rb1
-rw-r--r--test/-ext-/string/test_nofree.rb1
-rw-r--r--test/-ext-/string/test_normalize.rb1
-rw-r--r--test/-ext-/string/test_qsort.rb1
-rw-r--r--test/-ext-/string/test_set_len.rb1
-rw-r--r--test/-ext-/struct/test_member.rb1
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb1
-rw-r--r--test/-ext-/symbol/test_type.rb1
-rw-r--r--test/-ext-/test_bug-3571.rb1
-rw-r--r--test/-ext-/test_bug-5832.rb1
-rw-r--r--test/-ext-/test_notimplement.rb1
-rw-r--r--test/-ext-/test_printf.rb1
-rw-r--r--test/-ext-/test_recursion.rb1
-rw-r--r--test/-ext-/time/test_new.rb1
-rw-r--r--test/-ext-/tracepoint/test_tracepoint.rb1
-rw-r--r--test/-ext-/typeddata/test_typeddata.rb1
-rw-r--r--test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb1
-rw-r--r--test/-ext-/win32/test_console_attr.rb1
-rw-r--r--test/-ext-/win32/test_dln.rb1
-rw-r--r--test/-ext-/win32/test_fd_setsize.rb1
-rw-r--r--test/base64/test_base64.rb1
-rw-r--r--test/benchmark/test_benchmark.rb1
-rw-r--r--test/bigdecimal/test_bigdecimal.rb1
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb1
-rw-r--r--test/bigdecimal/test_bigmath.rb1
-rw-r--r--test/bigdecimal/testbase.rb1
-rw-r--r--test/cgi/test_cgi_cookie.rb1
-rw-r--r--test/cgi/test_cgi_core.rb1
-rw-r--r--test/cgi/test_cgi_header.rb1
-rw-r--r--test/cgi/test_cgi_modruby.rb1
-rw-r--r--test/cgi/test_cgi_multipart.rb1
-rw-r--r--test/cgi/test_cgi_session.rb1
-rw-r--r--test/cgi/test_cgi_tag_helper.rb1
-rw-r--r--test/cgi/test_cgi_util.rb1
-rw-r--r--test/cgi/update_env.rb1
-rw-r--r--test/coverage/test_coverage.rb1
-rw-r--r--test/csv/base.rb1
-rwxr-xr-xtest/csv/test_csv_parsing.rb1
-rwxr-xr-xtest/csv/test_csv_writing.rb1
-rwxr-xr-xtest/csv/test_data_converters.rb1
-rwxr-xr-xtest/csv/test_encodings.rb1
-rwxr-xr-xtest/csv/test_features.rb1
-rwxr-xr-xtest/csv/test_headers.rb1
-rwxr-xr-xtest/csv/test_interface.rb1
-rwxr-xr-xtest/csv/test_row.rb1
-rwxr-xr-xtest/csv/test_table.rb1
-rw-r--r--test/csv/ts_all.rb1
-rw-r--r--test/date/test_date.rb1
-rw-r--r--test/date/test_date_arith.rb1
-rw-r--r--test/date/test_date_attr.rb1
-rw-r--r--test/date/test_date_base.rb1
-rw-r--r--test/date/test_date_compat.rb1
-rw-r--r--test/date/test_date_conv.rb1
-rw-r--r--test/date/test_date_marshal.rb1
-rw-r--r--test/date/test_date_new.rb1
-rw-r--r--test/date/test_date_parse.rb1
-rw-r--r--test/date/test_date_strftime.rb1
-rw-r--r--test/date/test_date_strptime.rb1
-rw-r--r--test/date/test_switch_hitter.rb1
-rw-r--r--test/dbm/test_dbm.rb1
-rw-r--r--test/digest/digest/foo.rb1
-rw-r--r--test/digest/test_digest.rb1
-rw-r--r--test/digest/test_digest_extend.rb1
-rw-r--r--test/drb/drbtest.rb1
-rw-r--r--test/drb/ignore_test_drb.rb1
-rw-r--r--test/drb/test_acl.rb1
-rw-r--r--test/drb/test_drb.rb1
-rw-r--r--test/drb/test_drbssl.rb1
-rw-r--r--test/drb/test_drbunix.rb1
-rw-r--r--test/drb/ut_array.rb1
-rw-r--r--test/drb/ut_array_drbssl.rb1
-rw-r--r--test/drb/ut_array_drbunix.rb1
-rw-r--r--test/drb/ut_drb.rb1
-rw-r--r--test/drb/ut_drb_drbssl.rb1
-rw-r--r--test/drb/ut_drb_drbunix.rb1
-rw-r--r--test/drb/ut_eq.rb1
-rw-r--r--test/drb/ut_eval.rb1
-rw-r--r--test/drb/ut_large.rb1
-rw-r--r--test/drb/ut_port.rb1
-rw-r--r--test/drb/ut_safe1.rb1
-rw-r--r--test/drb/ut_timerholder.rb1
-rw-r--r--test/dtrace/dummy.rb1
-rw-r--r--test/dtrace/helper.rb1
-rw-r--r--test/dtrace/test_array_create.rb1
-rw-r--r--test/dtrace/test_cmethod.rb1
-rw-r--r--test/dtrace/test_function_entry.rb1
-rw-r--r--test/dtrace/test_gc.rb1
-rw-r--r--test/dtrace/test_hash_create.rb1
-rw-r--r--test/dtrace/test_load.rb1
-rw-r--r--test/dtrace/test_method_cache.rb1
-rw-r--r--test/dtrace/test_object_create_start.rb1
-rw-r--r--test/dtrace/test_raise.rb1
-rw-r--r--test/dtrace/test_require.rb1
-rw-r--r--test/dtrace/test_singleton_function.rb1
-rw-r--r--test/dtrace/test_string.rb1
-rw-r--r--test/erb/test_erb.rb1
-rw-r--r--test/erb/test_erb_command.rb1
-rw-r--r--test/erb/test_erb_m17n.rb1
-rw-r--r--test/etc/test_etc.rb1
-rw-r--r--test/excludes/TestException.rb1
-rw-r--r--test/excludes/TestIO_Console.rb1
-rw-r--r--test/excludes/TestThread.rb1
-rw-r--r--test/fiddle/helper.rb1
-rw-r--r--test/fiddle/test_c_struct_entry.rb1
-rw-r--r--test/fiddle/test_c_union_entity.rb1
-rw-r--r--test/fiddle/test_closure.rb1
-rw-r--r--test/fiddle/test_cparser.rb1
-rw-r--r--test/fiddle/test_fiddle.rb1
-rw-r--r--test/fiddle/test_func.rb1
-rw-r--r--test/fiddle/test_function.rb1
-rw-r--r--test/fiddle/test_handle.rb1
-rw-r--r--test/fiddle/test_import.rb1
-rw-r--r--test/fiddle/test_pointer.rb1
-rw-r--r--test/fileutils/clobber.rb1
-rw-r--r--test/fileutils/fileasserts.rb1
-rw-r--r--test/fileutils/test_dryrun.rb1
-rw-r--r--test/fileutils/test_fileutils.rb1
-rw-r--r--test/fileutils/test_nowrite.rb1
-rw-r--r--test/fileutils/test_verbose.rb1
-rw-r--r--test/fileutils/visibility_tests.rb1
-rw-r--r--test/gdbm/test_gdbm.rb1
-rw-r--r--test/io/console/test_io_console.rb1
-rw-r--r--test/io/nonblock/test_flush.rb1
-rw-r--r--test/io/wait/test_io_wait.rb1
-rw-r--r--test/irb/test_completion.rb1
-rw-r--r--test/irb/test_option.rb1
-rw-r--r--test/irb/test_raise_no_backtrace_exception.rb1
-rw-r--r--test/json/setup_variant.rb1
-rwxr-xr-xtest/json/test_json.rb1
-rw-r--r--test/json/test_json_addition.rb1
-rw-r--r--test/json/test_json_encoding.rb1
-rw-r--r--test/json/test_json_fixtures.rb1
-rw-r--r--test/json/test_json_generate.rb1
-rw-r--r--test/json/test_json_generic_object.rb1
-rw-r--r--test/json/test_json_string_matching.rb1
-rw-r--r--test/json/test_json_unicode.rb1
-rw-r--r--test/lib/envutil.rb1
-rw-r--r--test/lib/find_executable.rb1
-rw-r--r--test/lib/iseq_loader_checker.rb1
-rw-r--r--test/lib/leakchecker.rb1
-rw-r--r--test/lib/memory_status.rb1
-rw-r--r--test/lib/minitest/autorun.rb1
-rw-r--r--test/lib/minitest/benchmark.rb1
-rw-r--r--test/lib/minitest/mock.rb1
-rw-r--r--test/lib/minitest/unit.rb1
-rw-r--r--test/lib/profile_test_all.rb1
-rw-r--r--test/lib/test/unit.rb1
-rw-r--r--test/lib/test/unit/assertions.rb1
-rw-r--r--test/lib/test/unit/parallel.rb1
-rw-r--r--test/lib/test/unit/testcase.rb1
-rw-r--r--test/lib/tracepointchecker.rb1
-rw-r--r--test/lib/with_different_ofs.rb1
-rw-r--r--test/lib/zombie_hunter.rb1
-rw-r--r--test/logger/test_logdevice.rb1
-rw-r--r--test/logger/test_logger.rb1
-rw-r--r--test/logger/test_severity.rb1
-rw-r--r--test/matrix/test_matrix.rb1
-rw-r--r--test/matrix/test_vector.rb1
-rw-r--r--test/minitest/metametameta.rb1
-rw-r--r--test/minitest/test_minitest_benchmark.rb1
-rw-r--r--test/minitest/test_minitest_mock.rb1
-rw-r--r--test/minitest/test_minitest_unit.rb1
-rw-r--r--test/misc/test_ruby_mode.rb1
-rw-r--r--test/mkmf/base.rb1
-rw-r--r--test/mkmf/test_config.rb1
-rw-r--r--test/mkmf/test_constant.rb1
-rw-r--r--test/mkmf/test_convertible.rb1
-rw-r--r--test/mkmf/test_find_executable.rb1
-rw-r--r--test/mkmf/test_flags.rb1
-rw-r--r--test/mkmf/test_framework.rb1
-rw-r--r--test/mkmf/test_have_func.rb1
-rw-r--r--test/mkmf/test_have_library.rb1
-rw-r--r--test/mkmf/test_have_macro.rb1
-rw-r--r--test/mkmf/test_libs.rb1
-rw-r--r--test/mkmf/test_signedness.rb1
-rw-r--r--test/mkmf/test_sizeof.rb1
-rw-r--r--test/monitor/test_monitor.rb1
-rw-r--r--test/net/http/test_buffered_io.rb1
-rw-r--r--test/net/http/test_http.rb1
-rw-r--r--test/net/http/test_http_request.rb1
-rw-r--r--test/net/http/test_httpheader.rb1
-rw-r--r--test/net/http/test_httpresponse.rb1
-rw-r--r--test/net/http/test_httpresponses.rb1
-rw-r--r--test/net/http/test_https.rb1
-rw-r--r--test/net/http/test_https_proxy.rb1
-rw-r--r--test/net/http/utils.rb1
-rw-r--r--test/net/pop/test_pop.rb1
-rw-r--r--test/net/protocol/test_protocol.rb1
-rw-r--r--test/net/smtp/test_response.rb1
-rw-r--r--test/net/smtp/test_smtp.rb1
-rw-r--r--test/net/smtp/test_ssl_socket.rb1
-rw-r--r--test/nkf/test_kconv.rb1
-rw-r--r--test/nkf/test_nkf.rb1
-rw-r--r--test/objspace/test_objspace.rb1
-rw-r--r--test/openssl/test_asn1.rb1
-rw-r--r--test/openssl/test_bn.rb1
-rw-r--r--test/openssl/test_buffering.rb1
-rw-r--r--test/openssl/test_cipher.rb1
-rw-r--r--test/openssl/test_config.rb1
-rw-r--r--test/openssl/test_digest.rb1
-rw-r--r--test/openssl/test_engine.rb1
-rw-r--r--test/openssl/test_fips.rb1
-rw-r--r--test/openssl/test_hmac.rb1
-rw-r--r--test/openssl/test_ns_spki.rb1
-rw-r--r--test/openssl/test_ocsp.rb1
-rw-r--r--test/openssl/test_pair.rb1
-rw-r--r--test/openssl/test_partial_record_read.rb1
-rw-r--r--test/openssl/test_pkcs12.rb1
-rw-r--r--test/openssl/test_pkcs5.rb1
-rw-r--r--test/openssl/test_pkcs7.rb1
-rw-r--r--test/openssl/test_pkey_dh.rb1
-rw-r--r--test/openssl/test_pkey_dsa.rb1
-rw-r--r--test/openssl/test_pkey_ec.rb1
-rw-r--r--test/openssl/test_pkey_rsa.rb1
-rw-r--r--test/openssl/test_random.rb1
-rw-r--r--test/openssl/test_ssl.rb1
-rw-r--r--test/openssl/test_ssl_session.rb1
-rw-r--r--test/openssl/test_x509cert.rb1
-rw-r--r--test/openssl/test_x509crl.rb1
-rw-r--r--test/openssl/test_x509ext.rb1
-rw-r--r--test/openssl/test_x509name.rb1
-rw-r--r--test/openssl/test_x509req.rb1
-rw-r--r--test/openssl/test_x509store.rb1
-rw-r--r--test/openssl/utils.rb1
-rw-r--r--test/optparse/test_acceptable.rb1
-rw-r--r--test/optparse/test_autoconf.rb1
-rw-r--r--test/optparse/test_bash_completion.rb1
-rw-r--r--test/optparse/test_getopts.rb1
-rw-r--r--test/optparse/test_noarg.rb1
-rw-r--r--test/optparse/test_optarg.rb1
-rw-r--r--test/optparse/test_optparse.rb1
-rw-r--r--test/optparse/test_placearg.rb1
-rw-r--r--test/optparse/test_reqarg.rb1
-rw-r--r--test/optparse/test_summary.rb1
-rw-r--r--test/optparse/test_zsh_completion.rb1
-rw-r--r--test/ostruct/test_ostruct.rb1
-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
-rw-r--r--test/rdoc/test_rdoc_alias.rb1
-rw-r--r--test/rdoc/test_rdoc_any_method.rb1
-rw-r--r--test/rdoc/test_rdoc_attr.rb1
-rw-r--r--test/rdoc/test_rdoc_class_module.rb1
-rw-r--r--test/rdoc/test_rdoc_code_object.rb1
-rw-r--r--test/rdoc/test_rdoc_comment.rb1
-rw-r--r--test/rdoc/test_rdoc_constant.rb1
-rw-r--r--test/rdoc/test_rdoc_context.rb1
-rw-r--r--test/rdoc/test_rdoc_context_section.rb1
-rw-r--r--test/rdoc/test_rdoc_cross_reference.rb1
-rw-r--r--test/rdoc/test_rdoc_encoding.rb1
-rw-r--r--test/rdoc/test_rdoc_extend.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_darkfish.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_json_index.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_markup.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_pot.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_pot_po.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_pot_po_entry.rb1
-rw-r--r--test/rdoc/test_rdoc_generator_ri.rb1
-rw-r--r--test/rdoc/test_rdoc_i18n_locale.rb1
-rw-r--r--test/rdoc/test_rdoc_i18n_text.rb1
-rw-r--r--test/rdoc/test_rdoc_include.rb1
-rw-r--r--test/rdoc/test_rdoc_markdown.rb1
-rw-r--r--test/rdoc/test_rdoc_markdown_test.rb1
-rw-r--r--test/rdoc/test_rdoc_markup.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_attribute_manager.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_attributes.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_document.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_formatter.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_hard_break.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_heading.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_include.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_indented_paragraph.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_paragraph.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_raw.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_ansi.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_bs.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_html.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_crossref.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_snippet.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_joined_paragraph.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_label.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_markdown.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_rdoc.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_table_of_contents.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_to_tt_only.rb1
-rw-r--r--test/rdoc/test_rdoc_markup_verbatim.rb1
-rw-r--r--test/rdoc/test_rdoc_method_attr.rb1
-rw-r--r--test/rdoc/test_rdoc_normal_class.rb1
-rw-r--r--test/rdoc/test_rdoc_normal_module.rb1
-rw-r--r--test/rdoc/test_rdoc_options.rb1
-rw-r--r--test/rdoc/test_rdoc_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_c.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_changelog.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_markdown.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_rd.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb1
-rw-r--r--test/rdoc/test_rdoc_parser_simple.rb1
-rw-r--r--test/rdoc/test_rdoc_rd.rb1
-rw-r--r--test/rdoc/test_rdoc_rd_block_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_rd_inline.rb1
-rw-r--r--test/rdoc/test_rdoc_rd_inline_parser.rb1
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb1
-rw-r--r--test/rdoc/test_rdoc_require.rb1
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb1
-rw-r--r--test/rdoc/test_rdoc_ri_paths.rb1
-rw-r--r--test/rdoc/test_rdoc_ruby_lex.rb1
-rw-r--r--test/rdoc/test_rdoc_ruby_token.rb1
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb1
-rw-r--r--test/rdoc/test_rdoc_servlet.rb1
-rw-r--r--test/rdoc/test_rdoc_single_class.rb1
-rw-r--r--test/rdoc/test_rdoc_stats.rb1
-rw-r--r--test/rdoc/test_rdoc_store.rb1
-rw-r--r--test/rdoc/test_rdoc_task.rb1
-rw-r--r--test/rdoc/test_rdoc_text.rb1
-rw-r--r--test/rdoc/test_rdoc_token_stream.rb1
-rw-r--r--test/rdoc/test_rdoc_tom_doc.rb1
-rw-r--r--test/rdoc/test_rdoc_top_level.rb1
-rw-r--r--test/rdoc/xref_data.rb1
-rw-r--r--test/rdoc/xref_test_case.rb1
-rw-r--r--test/readline/test_readline.rb1
-rw-r--r--test/readline/test_readline_history.rb1
-rw-r--r--test/resolv/test_addr.rb1
-rw-r--r--test/resolv/test_dns.rb1
-rw-r--r--test/resolv/test_resource.rb1
-rw-r--r--test/rexml/listener.rb1
-rw-r--r--test/rexml/parse/test_document_type_declaration.rb1
-rw-r--r--test/rexml/parse/test_notation_declaration.rb1
-rw-r--r--test/rexml/parser/test_sax2.rb1
-rw-r--r--test/rexml/parser/test_tree.rb1
-rw-r--r--test/rexml/parser/test_ultra_light.rb1
-rw-r--r--test/rexml/rexml_test_utils.rb1
-rw-r--r--test/rexml/test_attributes.rb1
-rw-r--r--test/rexml/test_attributes_mixin.rb1
-rw-r--r--test/rexml/test_changing_encoding.rb1
-rw-r--r--test/rexml/test_comment.rb1
-rw-r--r--test/rexml/test_contrib.rb1
-rw-r--r--test/rexml/test_core.rb1
-rw-r--r--test/rexml/test_doctype.rb1
-rw-r--r--test/rexml/test_document.rb1
-rw-r--r--test/rexml/test_elements.rb1
-rw-r--r--test/rexml/test_encoding.rb1
-rw-r--r--test/rexml/test_entity.rb1
-rw-r--r--test/rexml/test_functions.rb1
-rw-r--r--test/rexml/test_functions_number.rb1
-rw-r--r--test/rexml/test_jaxen.rb1
-rw-r--r--test/rexml/test_light.rb1
-rw-r--r--test/rexml/test_lightparser.rb1
-rw-r--r--test/rexml/test_listener.rb1
-rw-r--r--test/rexml/test_martin_fowler.rb1
-rw-r--r--test/rexml/test_namespace.rb1
-rw-r--r--test/rexml/test_order.rb1
-rw-r--r--test/rexml/test_preceding_sibling.rb1
-rw-r--r--test/rexml/test_pullparser.rb1
-rw-r--r--test/rexml/test_rexml_issuezilla.rb1
-rw-r--r--test/rexml/test_sax.rb1
-rw-r--r--test/rexml/test_stream.rb1
-rw-r--r--test/rexml/test_text.rb1
-rw-r--r--test/rexml/test_ticket_80.rb1
-rw-r--r--test/rexml/test_validation_rng.rb1
-rw-r--r--test/rexml/test_xml_declaration.rb1
-rw-r--r--test/rexml/xpath/test_attribute.rb1
-rw-r--r--test/rexml/xpath/test_axis_preceding_sibling.rb1
-rw-r--r--test/rexml/xpath/test_base.rb1
-rw-r--r--test/rexml/xpath/test_node.rb1
-rw-r--r--test/rexml/xpath/test_predicate.rb1
-rw-r--r--test/rexml/xpath/test_text.rb1
-rw-r--r--test/rinda/test_rinda.rb1
-rw-r--r--test/rinda/test_tuplebag.rb1
-rw-r--r--test/ripper/dummyparser.rb1
-rw-r--r--test/ripper/test_files.rb1
-rw-r--r--test/ripper/test_filter.rb3
-rw-r--r--test/ripper/test_ripper.rb1
-rw-r--r--test/ripper/test_scanner_events.rb1
-rw-r--r--test/ripper/test_sexp.rb1
-rw-r--r--test/rss/rss-assertions.rb1
-rw-r--r--test/rss/rss-testcase.rb1
-rw-r--r--test/rss/test_1.0.rb1
-rw-r--r--test/rss/test_2.0.rb1
-rw-r--r--test/rss/test_accessor.rb1
-rw-r--r--test/rss/test_atom.rb1
-rw-r--r--test/rss/test_content.rb1
-rw-r--r--test/rss/test_dublincore.rb1
-rw-r--r--test/rss/test_image.rb1
-rw-r--r--test/rss/test_inherit.rb1
-rw-r--r--test/rss/test_itunes.rb1
-rw-r--r--test/rss/test_maker_0.9.rb1
-rw-r--r--test/rss/test_maker_1.0.rb1
-rw-r--r--test/rss/test_maker_2.0.rb1
-rw-r--r--test/rss/test_maker_atom_entry.rb1
-rw-r--r--test/rss/test_maker_atom_feed.rb1
-rw-r--r--test/rss/test_maker_content.rb1
-rw-r--r--test/rss/test_maker_dc.rb1
-rw-r--r--test/rss/test_maker_image.rb1
-rw-r--r--test/rss/test_maker_itunes.rb1
-rw-r--r--test/rss/test_maker_slash.rb1
-rw-r--r--test/rss/test_maker_sy.rb1
-rw-r--r--test/rss/test_maker_taxo.rb1
-rw-r--r--test/rss/test_maker_trackback.rb1
-rw-r--r--test/rss/test_maker_xml-stylesheet.rb1
-rw-r--r--test/rss/test_parser.rb1
-rw-r--r--test/rss/test_parser_1.0.rb1
-rw-r--r--test/rss/test_parser_2.0.rb1
-rw-r--r--test/rss/test_parser_atom_entry.rb1
-rw-r--r--test/rss/test_parser_atom_feed.rb1
-rw-r--r--test/rss/test_setup_maker_0.9.rb1
-rw-r--r--test/rss/test_setup_maker_1.0.rb1
-rw-r--r--test/rss/test_setup_maker_2.0.rb1
-rw-r--r--test/rss/test_setup_maker_atom_entry.rb1
-rw-r--r--test/rss/test_setup_maker_atom_feed.rb1
-rw-r--r--test/rss/test_setup_maker_itunes.rb1
-rw-r--r--test/rss/test_setup_maker_slash.rb1
-rw-r--r--test/rss/test_slash.rb1
-rw-r--r--test/rss/test_syndication.rb1
-rw-r--r--test/rss/test_taxonomy.rb1
-rw-r--r--test/rss/test_to_s.rb1
-rw-r--r--test/rss/test_trackback.rb1
-rw-r--r--test/rss/test_version.rb1
-rw-r--r--test/rss/test_xml-stylesheet.rb1
-rw-r--r--test/ruby/allpairs.rb1
-rw-r--r--test/ruby/beginmainend.rb1
-rw-r--r--test/ruby/enc/test_big5.rb1
-rw-r--r--test/ruby/enc/test_cp949.rb1
-rw-r--r--test/ruby/enc/test_emoji.rb1
-rw-r--r--test/ruby/enc/test_euc_jp.rb1
-rw-r--r--test/ruby/enc/test_euc_kr.rb1
-rw-r--r--test/ruby/enc/test_euc_tw.rb1
-rw-r--r--test/ruby/enc/test_gb18030.rb1
-rw-r--r--test/ruby/enc/test_gbk.rb1
-rw-r--r--test/ruby/enc/test_iso_8859.rb1
-rw-r--r--test/ruby/enc/test_koi8.rb1
-rw-r--r--test/ruby/enc/test_shift_jis.rb1
-rw-r--r--test/ruby/enc/test_utf16.rb1
-rw-r--r--test/ruby/enc/test_utf32.rb1
-rw-r--r--test/ruby/enc/test_windows_1251.rb1
-rw-r--r--test/ruby/enc/test_windows_1252.rb1
-rw-r--r--test/ruby/lbtest.rb1
-rw-r--r--test/ruby/marshaltestlib.rb1
-rw-r--r--test/ruby/sentence.rb1
-rw-r--r--test/ruby/test_alias.rb1
-rw-r--r--test/ruby/test_argf.rb1
-rw-r--r--test/ruby/test_arity.rb1
-rw-r--r--test/ruby/test_array.rb1
-rw-r--r--test/ruby/test_assignment.rb1
-rw-r--r--test/ruby/test_autoload.rb1
-rw-r--r--test/ruby/test_backtrace.rb1
-rw-r--r--test/ruby/test_basicinstructions.rb1
-rw-r--r--test/ruby/test_beginendblock.rb1
-rw-r--r--test/ruby/test_bignum.rb1
-rw-r--r--test/ruby/test_call.rb1
-rw-r--r--test/ruby/test_case.rb1
-rw-r--r--test/ruby/test_class.rb1
-rw-r--r--test/ruby/test_clone.rb1
-rw-r--r--test/ruby/test_comparable.rb1
-rw-r--r--test/ruby/test_complex.rb1
-rw-r--r--test/ruby/test_complex2.rb1
-rw-r--r--test/ruby/test_complexrational.rb1
-rw-r--r--test/ruby/test_condition.rb1
-rw-r--r--test/ruby/test_const.rb1
-rw-r--r--test/ruby/test_continuation.rb1
-rw-r--r--test/ruby/test_defined.rb1
-rw-r--r--test/ruby/test_dir.rb1
-rw-r--r--test/ruby/test_dir_m17n.rb1
-rw-r--r--test/ruby/test_econv.rb1
-rw-r--r--test/ruby/test_encoding.rb1
-rw-r--r--test/ruby/test_enum.rb1
-rw-r--r--test/ruby/test_enumerator.rb1
-rw-r--r--test/ruby/test_env.rb1
-rw-r--r--test/ruby/test_eval.rb1
-rw-r--r--test/ruby/test_exception.rb1
-rw-r--r--test/ruby/test_extlibs.rb1
-rw-r--r--test/ruby/test_fiber.rb1
-rw-r--r--test/ruby/test_file.rb1
-rw-r--r--test/ruby/test_file_exhaustive.rb1
-rw-r--r--test/ruby/test_fixnum.rb1
-rw-r--r--test/ruby/test_flip.rb1
-rw-r--r--test/ruby/test_float.rb1
-rw-r--r--test/ruby/test_fnmatch.rb1
-rw-r--r--test/ruby/test_gc.rb1
-rw-r--r--test/ruby/test_hash.rb1
-rw-r--r--test/ruby/test_ifunless.rb1
-rw-r--r--test/ruby/test_integer.rb1
-rw-r--r--test/ruby/test_integer_comb.rb1
-rw-r--r--test/ruby/test_io.rb1
-rw-r--r--test/ruby/test_io_m17n.rb1
-rw-r--r--test/ruby/test_iterator.rb1
-rw-r--r--test/ruby/test_keyword.rb1
-rw-r--r--test/ruby/test_lambda.rb1
-rw-r--r--test/ruby/test_lazy_enumerator.rb1
-rw-r--r--test/ruby/test_literal.rb1
-rw-r--r--test/ruby/test_m17n.rb1
-rw-r--r--test/ruby/test_m17n_comb.rb1
-rw-r--r--test/ruby/test_marshal.rb1
-rw-r--r--test/ruby/test_math.rb1
-rw-r--r--test/ruby/test_metaclass.rb1
-rw-r--r--test/ruby/test_method.rb1
-rw-r--r--test/ruby/test_mixed_unicode_escapes.rb1
-rw-r--r--test/ruby/test_module.rb1
-rw-r--r--test/ruby/test_not.rb1
-rw-r--r--test/ruby/test_notimp.rb1
-rw-r--r--test/ruby/test_numeric.rb1
-rw-r--r--test/ruby/test_object.rb1
-rw-r--r--test/ruby/test_objectspace.rb1
-rw-r--r--test/ruby/test_optimization.rb1
-rw-r--r--test/ruby/test_pack.rb1
-rw-r--r--test/ruby/test_parse.rb1
-rw-r--r--test/ruby/test_path.rb1
-rw-r--r--test/ruby/test_pipe.rb1
-rw-r--r--test/ruby/test_primitive.rb1
-rw-r--r--test/ruby/test_proc.rb1
-rw-r--r--test/ruby/test_process.rb1
-rw-r--r--test/ruby/test_rand.rb1
-rw-r--r--test/ruby/test_range.rb1
-rw-r--r--test/ruby/test_rational.rb1
-rw-r--r--test/ruby/test_rational2.rb1
-rw-r--r--test/ruby/test_readpartial.rb1
-rw-r--r--test/ruby/test_refinement.rb1
-rw-r--r--test/ruby/test_regexp.rb1
-rw-r--r--test/ruby/test_require.rb1
-rw-r--r--test/ruby/test_rubyvm.rb1
-rw-r--r--test/ruby/test_settracefunc.rb1
-rw-r--r--test/ruby/test_signal.rb1
-rw-r--r--test/ruby/test_sleep.rb1
-rw-r--r--test/ruby/test_sprintf.rb1
-rw-r--r--test/ruby/test_sprintf_comb.rb1
-rw-r--r--test/ruby/test_string.rb1
-rw-r--r--test/ruby/test_stringchar.rb1
-rw-r--r--test/ruby/test_struct.rb1
-rw-r--r--test/ruby/test_super.rb1
-rw-r--r--test/ruby/test_symbol.rb1
-rw-r--r--test/ruby/test_syntax.rb1
-rw-r--r--test/ruby/test_system.rb1
-rw-r--r--test/ruby/test_thread.rb1
-rw-r--r--test/ruby/test_threadgroup.rb1
-rw-r--r--test/ruby/test_time.rb1
-rw-r--r--test/ruby/test_time_tz.rb1
-rw-r--r--test/ruby/test_trace.rb1
-rw-r--r--test/ruby/test_transcode.rb1
-rw-r--r--test/ruby/test_undef.rb1
-rw-r--r--test/ruby/test_unicode_escape.rb1
-rw-r--r--test/ruby/test_variable.rb1
-rw-r--r--test/ruby/test_weakmap.rb1
-rw-r--r--test/ruby/test_whileuntil.rb1
-rw-r--r--test/ruby/test_yield.rb1
-rw-r--r--test/ruby/ut_eof.rb1
-rw-r--r--test/rubygems/bad_rake.rb1
-rw-r--r--test/rubygems/bogussources.rb1
-rw-r--r--test/rubygems/fake_certlib/openssl.rb1
-rw-r--r--test/rubygems/fix_openssl_warnings.rb1
-rw-r--r--test/rubygems/foo/discover.rb1
-rw-r--r--test/rubygems/good_rake.rb1
-rw-r--r--test/rubygems/plugin/exception/rubygems_plugin.rb1
-rw-r--r--test/rubygems/plugin/load/rubygems_plugin.rb1
-rw-r--r--test/rubygems/plugin/standarderror/rubygems_plugin.rb1
-rw-r--r--test/rubygems/rubygems/commands/crash_command.rb1
-rw-r--r--test/rubygems/rubygems_plugin.rb1
-rw-r--r--test/rubygems/sff/discover.rb1
-rw-r--r--test/rubygems/simple_gem.rb1
-rw-r--r--test/rubygems/test_bundled_ca.rb1
-rw-r--r--test/rubygems/test_config.rb1
-rw-r--r--test/rubygems/test_deprecate.rb1
-rw-r--r--test/rubygems/test_gem.rb1
-rw-r--r--test/rubygems/test_gem_available_set.rb1
-rw-r--r--test/rubygems/test_gem_command.rb1
-rw-r--r--test/rubygems/test_gem_command_manager.rb1
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_check_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_cleanup_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_dependency_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_environment_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_fetch_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_generate_index_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_help_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_list_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_lock_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_mirror.rb1
-rw-r--r--test/rubygems/test_gem_commands_open_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_outdated_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_query_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_search_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_server_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_sources_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_specification_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_stale_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_unpack_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_update_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_which_command.rb1
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb1
-rw-r--r--test/rubygems/test_gem_config_file.rb1
-rw-r--r--test/rubygems/test_gem_dependency.rb1
-rw-r--r--test/rubygems/test_gem_dependency_installer.rb1
-rw-r--r--test/rubygems/test_gem_dependency_list.rb1
-rw-r--r--test/rubygems/test_gem_dependency_resolution_error.rb1
-rw-r--r--test/rubygems/test_gem_doctor.rb1
-rw-r--r--test/rubygems/test_gem_ext_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_cmake_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_configure_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_ext_conf_builder.rb1
-rw-r--r--test/rubygems/test_gem_ext_rake_builder.rb1
-rw-r--r--test/rubygems/test_gem_gem_runner.rb1
-rw-r--r--test/rubygems/test_gem_gemcutter_utilities.rb1
-rw-r--r--test/rubygems/test_gem_impossible_dependencies_error.rb1
-rw-r--r--test/rubygems/test_gem_indexer.rb1
-rw-r--r--test/rubygems/test_gem_install_update_options.rb1
-rw-r--r--test/rubygems/test_gem_installer.rb1
-rw-r--r--test/rubygems/test_gem_local_remote_options.rb1
-rw-r--r--test/rubygems/test_gem_name_tuple.rb1
-rw-r--r--test/rubygems/test_gem_package.rb1
-rw-r--r--test/rubygems/test_gem_package_old.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_header.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_reader.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_reader_entry.rb1
-rw-r--r--test/rubygems/test_gem_package_tar_writer.rb1
-rw-r--r--test/rubygems/test_gem_package_task.rb1
-rw-r--r--test/rubygems/test_gem_path_support.rb1
-rw-r--r--test/rubygems/test_gem_platform.rb1
-rw-r--r--test/rubygems/test_gem_rdoc.rb1
-rw-r--r--test/rubygems/test_gem_remote_fetcher.rb1
-rw-r--r--test/rubygems/test_gem_request.rb1
-rw-r--r--test/rubygems/test_gem_request_connection_pools.rb1
-rw-r--r--test/rubygems/test_gem_request_set.rb1
-rw-r--r--test/rubygems/test_gem_request_set_gem_dependency_api.rb1
-rw-r--r--test/rubygems/test_gem_request_set_lockfile.rb1
-rw-r--r--test/rubygems/test_gem_request_set_lockfile_parser.rb1
-rw-r--r--test/rubygems/test_gem_request_set_lockfile_tokenizer.rb1
-rw-r--r--test/rubygems/test_gem_requirement.rb1
-rw-r--r--test/rubygems/test_gem_resolver.rb1
-rw-r--r--test/rubygems/test_gem_resolver_activation_request.rb1
-rw-r--r--test/rubygems/test_gem_resolver_api_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_api_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_best_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_composed_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_conflict.rb1
-rw-r--r--test/rubygems/test_gem_resolver_dependency_request.rb1
-rw-r--r--test/rubygems/test_gem_resolver_git_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_git_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_index_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_index_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_installed_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_installer_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_local_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_lock_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_lock_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_requirement_list.rb1
-rw-r--r--test/rubygems/test_gem_resolver_specification.rb1
-rw-r--r--test/rubygems/test_gem_resolver_vendor_set.rb1
-rw-r--r--test/rubygems/test_gem_resolver_vendor_specification.rb1
-rw-r--r--test/rubygems/test_gem_security.rb1
-rw-r--r--test/rubygems/test_gem_security_policy.rb1
-rw-r--r--test/rubygems/test_gem_security_signer.rb1
-rw-r--r--test/rubygems/test_gem_security_trust_dir.rb1
-rw-r--r--test/rubygems/test_gem_server.rb1
-rw-r--r--test/rubygems/test_gem_silent_ui.rb1
-rw-r--r--test/rubygems/test_gem_source.rb1
-rw-r--r--test/rubygems/test_gem_source_fetch_problem.rb1
-rw-r--r--test/rubygems/test_gem_source_git.rb1
-rw-r--r--test/rubygems/test_gem_source_installed.rb1
-rw-r--r--test/rubygems/test_gem_source_list.rb1
-rw-r--r--test/rubygems/test_gem_source_local.rb1
-rw-r--r--test/rubygems/test_gem_source_lock.rb1
-rw-r--r--test/rubygems/test_gem_source_specific_file.rb1
-rw-r--r--test/rubygems/test_gem_source_vendor.rb1
-rw-r--r--test/rubygems/test_gem_spec_fetcher.rb1
-rw-r--r--test/rubygems/test_gem_specification.rb1
-rw-r--r--test/rubygems/test_gem_stream_ui.rb1
-rw-r--r--test/rubygems/test_gem_stub_specification.rb1
-rw-r--r--test/rubygems/test_gem_text.rb1
-rw-r--r--test/rubygems/test_gem_uninstaller.rb1
-rw-r--r--test/rubygems/test_gem_unsatisfiable_dependency_error.rb1
-rw-r--r--test/rubygems/test_gem_uri_formatter.rb1
-rw-r--r--test/rubygems/test_gem_util.rb1
-rw-r--r--test/rubygems/test_gem_validator.rb1
-rw-r--r--test/rubygems/test_gem_version.rb1
-rw-r--r--test/rubygems/test_gem_version_option.rb1
-rw-r--r--test/rubygems/test_kernel.rb1
-rw-r--r--test/rubygems/test_require.rb1
-rw-r--r--test/runner.rb1
-rw-r--r--test/scanf/test_scanf.rb1
-rw-r--r--test/scanf/test_scanfblocks.rb1
-rw-r--r--test/scanf/test_scanfio.rb1
-rw-r--r--test/sdbm/test_sdbm.rb1
-rw-r--r--test/shell/test_command_processor.rb1
-rw-r--r--test/stringio/test_stringio.rb1
-rw-r--r--test/strscan/test_stringscanner.rb1
-rw-r--r--test/syslog/test_syslog_logger.rb1
-rw-r--r--test/test_abbrev.rb1
-rw-r--r--test/test_cmath.rb1
-rw-r--r--test/test_delegate.rb1
-rw-r--r--test/test_find.rb1
-rw-r--r--test/test_forwardable.rb1
-rw-r--r--test/test_ipaddr.rb1
-rw-r--r--test/test_mathn.rb1
-rw-r--r--test/test_mutex_m.rb1
-rw-r--r--test/test_observer.rb1
-rw-r--r--test/test_prime.rb1
-rw-r--r--test/test_pstore.rb1
-rw-r--r--test/test_pty.rb1
-rw-r--r--test/test_rbconfig.rb1
-rw-r--r--test/test_securerandom.rb1
-rw-r--r--test/test_set.rb1
-rw-r--r--test/test_shellwords.rb1
-rw-r--r--test/test_singleton.rb1
-rw-r--r--test/test_syslog.rb1
-rw-r--r--test/test_tempfile.rb1
-rw-r--r--test/test_timeout.rb1
-rw-r--r--test/test_tmpdir.rb1
-rw-r--r--test/test_tracer.rb1
-rw-r--r--test/test_unicode_normalize.rb1
-rw-r--r--test/test_weakref.rb1
-rw-r--r--test/test_win32api.rb1
-rw-r--r--test/testunit/test4test_hideskip.rb1
-rw-r--r--test/testunit/test4test_redefinition.rb1
-rw-r--r--test/testunit/test4test_sorting.rb1
-rw-r--r--test/testunit/test_assertion.rb1
-rw-r--r--test/testunit/test_hideskip.rb1
-rw-r--r--test/testunit/test_parallel.rb1
-rw-r--r--test/testunit/test_redefinition.rb1
-rw-r--r--test/testunit/test_sorting.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_first.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_forth.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_second.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_third.rb1
-rw-r--r--test/testunit/tests_for_parallel/runner.rb1
-rw-r--r--test/thread/test_cv.rb1
-rw-r--r--test/thread/test_queue.rb1
-rw-r--r--test/thread/test_sync.rb1
-rw-r--r--test/uri/test_common.rb1
-rw-r--r--test/uri/test_ftp.rb1
-rw-r--r--test/uri/test_generic.rb1
-rw-r--r--test/uri/test_http.rb1
-rw-r--r--test/uri/test_ldap.rb1
-rw-r--r--test/uri/test_mailto.rb1
-rw-r--r--test/uri/test_parser.rb1
-rw-r--r--test/webrick/test_cgi.rb1
-rw-r--r--test/webrick/test_cookie.rb1
-rw-r--r--test/webrick/test_do_not_reverse_lookup.rb1
-rw-r--r--test/webrick/test_filehandler.rb1
-rw-r--r--test/webrick/test_htmlutils.rb1
-rw-r--r--test/webrick/test_httpauth.rb1
-rw-r--r--test/webrick/test_httpproxy.rb1
-rw-r--r--test/webrick/test_httprequest.rb1
-rw-r--r--test/webrick/test_httpresponse.rb1
-rw-r--r--test/webrick/test_httpserver.rb1
-rw-r--r--test/webrick/test_httputils.rb1
-rw-r--r--test/webrick/test_httpversion.rb1
-rw-r--r--test/webrick/test_server.rb1
-rw-r--r--test/webrick/test_utils.rb1
-rw-r--r--test/webrick/utils.rb1
-rw-r--r--test/win32ole/err_in_callback.rb1
-rw-r--r--test/win32ole/test_err_in_callback.rb1
-rw-r--r--test/win32ole/test_folderitem2_invokeverb.rb1
-rw-r--r--test/win32ole/test_nil2vtempty.rb1
-rw-r--r--test/win32ole/test_ole_methods.rb1
-rw-r--r--test/win32ole/test_propertyputref.rb1
-rw-r--r--test/win32ole/test_thread.rb1
-rw-r--r--test/win32ole/test_win32ole.rb1
-rw-r--r--test/win32ole/test_win32ole_event.rb1
-rw-r--r--test/win32ole/test_win32ole_method.rb1
-rw-r--r--test/win32ole/test_win32ole_param.rb1
-rw-r--r--test/win32ole/test_win32ole_record.rb1
-rw-r--r--test/win32ole/test_win32ole_type.rb1
-rw-r--r--test/win32ole/test_win32ole_typelib.rb1
-rw-r--r--test/win32ole/test_win32ole_variable.rb1
-rw-r--r--test/win32ole/test_win32ole_variant.rb1
-rw-r--r--test/win32ole/test_win32ole_variant_m.rb1
-rw-r--r--test/win32ole/test_win32ole_variant_outarg.rb1
-rw-r--r--test/win32ole/test_word.rb1
-rw-r--r--test/xmlrpc/test_client.rb1
-rw-r--r--test/xmlrpc/test_cookie.rb1
-rw-r--r--test/xmlrpc/test_datetime.rb1
-rw-r--r--test/xmlrpc/test_features.rb1
-rw-r--r--test/xmlrpc/test_marshal.rb1
-rw-r--r--test/xmlrpc/test_parser.rb1
-rw-r--r--test/xmlrpc/test_webrick_server.rb1
-rw-r--r--test/xmlrpc/webrick_testing.rb1
-rw-r--r--test/zlib/test_zlib.rb1
869 files changed, 870 insertions, 1 deletions
diff --git a/test/-ext-/array/test_resize.rb b/test/-ext-/array/test_resize.rb
index 8e526b5..f6a368c 100644
--- a/test/-ext-/array/test_resize.rb
+++ b/test/-ext-/array/test_resize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/array/resize'
diff --git a/test/-ext-/bignum/test_big2str.rb b/test/-ext-/bignum/test_big2str.rb
index 0af552e..4fae24e 100644
--- a/test/-ext-/bignum/test_big2str.rb
+++ b/test/-ext-/bignum/test_big2str.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_bigzero.rb b/test/-ext-/bignum/test_bigzero.rb
index f75c459..8529e54 100644
--- a/test/-ext-/bignum/test_bigzero.rb
+++ b/test/-ext-/bignum/test_bigzero.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_div.rb b/test/-ext-/bignum/test_div.rb
index 9c1a3c3..9a8e93b 100644
--- a/test/-ext-/bignum/test_div.rb
+++ b/test/-ext-/bignum/test_div.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_mul.rb b/test/-ext-/bignum/test_mul.rb
index 3e78247..103a00f 100644
--- a/test/-ext-/bignum/test_mul.rb
+++ b/test/-ext-/bignum/test_mul.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_pack.rb b/test/-ext-/bignum/test_pack.rb
index f2a3df8..04bf3e0 100644
--- a/test/-ext-/bignum/test_pack.rb
+++ b/test/-ext-/bignum/test_pack.rb
@@ -1,4 +1,5 @@
# coding: ASCII-8BIT
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bignum/test_str2big.rb b/test/-ext-/bignum/test_str2big.rb
index 4304be8..3b57501 100644
--- a/test/-ext-/bignum/test_str2big.rb
+++ b/test/-ext-/bignum/test_str2big.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/bignum"
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb
index e68adee..fb37658 100644
--- a/test/-ext-/bug_reporter/test_bug_reporter.rb
+++ b/test/-ext-/bug_reporter/test_bug_reporter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/-ext-/class/test_class2name.rb b/test/-ext-/class/test_class2name.rb
index 070be5a..e61964d 100644
--- a/test/-ext-/class/test_class2name.rb
+++ b/test/-ext-/class/test_class2name.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/class"
diff --git a/test/-ext-/debug/test_debug.rb b/test/-ext-/debug/test_debug.rb
index ec506e0..3804714 100644
--- a/test/-ext-/debug/test_debug.rb
+++ b/test/-ext-/debug/test_debug.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/debug'
diff --git a/test/-ext-/debug/test_profile_frames.rb b/test/-ext-/debug/test_profile_frames.rb
index e257ef0..860652c 100644
--- a/test/-ext-/debug/test_profile_frames.rb
+++ b/test/-ext-/debug/test_profile_frames.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/debug'
diff --git a/test/-ext-/exception/test_data_error.rb b/test/-ext-/exception/test_data_error.rb
index 53cbb28..d33d8ca 100644
--- a/test/-ext-/exception/test_data_error.rb
+++ b/test/-ext-/exception/test_data_error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Bug
diff --git a/test/-ext-/exception/test_enc_raise.rb b/test/-ext-/exception/test_enc_raise.rb
index a578b16..2bc7f02 100644
--- a/test/-ext-/exception/test_enc_raise.rb
+++ b/test/-ext-/exception/test_enc_raise.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/exception'
diff --git a/test/-ext-/exception/test_ensured.rb b/test/-ext-/exception/test_ensured.rb
index 97d9794..8582458 100644
--- a/test/-ext-/exception/test_ensured.rb
+++ b/test/-ext-/exception/test_ensured.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Bug
diff --git a/test/-ext-/file/test_stat.rb b/test/-ext-/file/test_stat.rb
index b9aa132..9eebcd9 100644
--- a/test/-ext-/file/test_stat.rb
+++ b/test/-ext-/file/test_stat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/file"
diff --git a/test/-ext-/float/test_nextafter.rb b/test/-ext-/float/test_nextafter.rb
index e3a3e72..c131d1e 100644
--- a/test/-ext-/float/test_nextafter.rb
+++ b/test/-ext-/float/test_nextafter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/float"
diff --git a/test/-ext-/funcall/test_passing_block.rb b/test/-ext-/funcall/test_passing_block.rb
index 87aed22..fac7eaf 100644
--- a/test/-ext-/funcall/test_passing_block.rb
+++ b/test/-ext-/funcall/test_passing_block.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestFuncall < Test::Unit::TestCase
diff --git a/test/-ext-/gvl/test_last_thread.rb b/test/-ext-/gvl/test_last_thread.rb
index cf5f28f..3b297a5 100644
--- a/test/-ext-/gvl/test_last_thread.rb
+++ b/test/-ext-/gvl/test_last_thread.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class TestLastThread < Test::Unit::TestCase
# [Bug #11237]
diff --git a/test/-ext-/hash/test_delete.rb b/test/-ext-/hash/test_delete.rb
index 13f3595..e2ad3cb 100644
--- a/test/-ext-/hash/test_delete.rb
+++ b/test/-ext-/hash/test_delete.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/hash'
diff --git a/test/-ext-/iseq_load/test_iseq_load.rb b/test/-ext-/iseq_load/test_iseq_load.rb
index 5dfd69a..7eb8f4b 100644
--- a/test/-ext-/iseq_load/test_iseq_load.rb
+++ b/test/-ext-/iseq_load/test_iseq_load.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestIseqLoad < Test::Unit::TestCase
diff --git a/test/-ext-/iter/test_iter_break.rb b/test/-ext-/iter/test_iter_break.rb
index 5bac633..8c23799 100644
--- a/test/-ext-/iter/test_iter_break.rb
+++ b/test/-ext-/iter/test_iter_break.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/iter'
diff --git a/test/-ext-/iter/test_yield_block.rb b/test/-ext-/iter/test_yield_block.rb
index bec993c..d4f1fa3 100644
--- a/test/-ext-/iter/test_yield_block.rb
+++ b/test/-ext-/iter/test_yield_block.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/iter'
diff --git a/test/-ext-/load/test_dot_dot.rb b/test/-ext-/load/test_dot_dot.rb
index 82aa10a..1b2c871 100644
--- a/test/-ext-/load/test_dot_dot.rb
+++ b/test/-ext-/load/test_dot_dot.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_DotDot < Test::Unit::TestCase
diff --git a/test/-ext-/marshal/test_internal_ivar.rb b/test/-ext-/marshal/test_internal_ivar.rb
index e0e2a72..5152966 100644
--- a/test/-ext-/marshal/test_internal_ivar.rb
+++ b/test/-ext-/marshal/test_internal_ivar.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/marshal/internal_ivar'
diff --git a/test/-ext-/marshal/test_usrmarshal.rb b/test/-ext-/marshal/test_usrmarshal.rb
index 8d8db01..263dcb8 100644
--- a/test/-ext-/marshal/test_usrmarshal.rb
+++ b/test/-ext-/marshal/test_usrmarshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/marshal/usr'
diff --git a/test/-ext-/method/test_arity.rb b/test/-ext-/method/test_arity.rb
index 79ef23b..d0032c6 100644
--- a/test/-ext-/method/test_arity.rb
+++ b/test/-ext-/method/test_arity.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require '-test-/method'
require 'test/unit'
diff --git a/test/-ext-/num2int/test_num2int.rb b/test/-ext-/num2int/test_num2int.rb
index f579659..c00bb56 100644
--- a/test/-ext-/num2int/test_num2int.rb
+++ b/test/-ext-/num2int/test_num2int.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/num2int/num2int'
diff --git a/test/-ext-/path_to_class/test_path_to_class.rb b/test/-ext-/path_to_class/test_path_to_class.rb
index fdf4097..57e3a92 100644
--- a/test/-ext-/path_to_class/test_path_to_class.rb
+++ b/test/-ext-/path_to_class/test_path_to_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_PathToClass < Test::Unit::TestCase
diff --git a/test/-ext-/popen_deadlock/test_popen_deadlock.rb b/test/-ext-/popen_deadlock/test_popen_deadlock.rb
index 60ec6cc..97892e5 100644
--- a/test/-ext-/popen_deadlock/test_popen_deadlock.rb
+++ b/test/-ext-/popen_deadlock/test_popen_deadlock.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require '-test-/popen_deadlock/infinite_loop_dlsym'
rescue LoadError
diff --git a/test/-ext-/postponed_job/test_postponed_job.rb b/test/-ext-/postponed_job/test_postponed_job.rb
index 032e35c..da3b579 100644
--- a/test/-ext-/postponed_job/test_postponed_job.rb
+++ b/test/-ext-/postponed_job/test_postponed_job.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
require '-test-/postponed_job'
diff --git a/test/-ext-/proc/test_bmethod.rb b/test/-ext-/proc/test_bmethod.rb
index 16927dc..344f975 100644
--- a/test/-ext-/proc/test_bmethod.rb
+++ b/test/-ext-/proc/test_bmethod.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/proc'
diff --git a/test/-ext-/rational/test_rat.rb b/test/-ext-/rational/test_rat.rb
index ef7e7fe..626ffb9 100644
--- a/test/-ext-/rational/test_rat.rb
+++ b/test/-ext-/rational/test_rat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/rational"
diff --git a/test/-ext-/st/test_foreach.rb b/test/-ext-/st/test_foreach.rb
index 259b0a9..4b3eb87 100644
--- a/test/-ext-/st/test_foreach.rb
+++ b/test/-ext-/st/test_foreach.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/st/foreach'
diff --git a/test/-ext-/st/test_numhash.rb b/test/-ext-/st/test_numhash.rb
index 24dc87c..97c3a75 100644
--- a/test/-ext-/st/test_numhash.rb
+++ b/test/-ext-/st/test_numhash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/st/numhash"
diff --git a/test/-ext-/st/test_update.rb b/test/-ext-/st/test_update.rb
index 1b41d2b..db86eeb 100644
--- a/test/-ext-/st/test_update.rb
+++ b/test/-ext-/st/test_update.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/st/update"
diff --git a/test/-ext-/string/test_coderange.rb b/test/-ext-/string/test_coderange.rb
index 31f5c87..18b256f 100644
--- a/test/-ext-/string/test_coderange.rb
+++ b/test/-ext-/string/test_coderange.rb
@@ -1,4 +1,5 @@
# coding: ascii-8bit
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
require "rbconfig/sizeof"
diff --git a/test/-ext-/string/test_cstr.rb b/test/-ext-/string/test_cstr.rb
index 4be2cc9..f4ed520 100644
--- a/test/-ext-/string/test_cstr.rb
+++ b/test/-ext-/string/test_cstr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_ellipsize.rb b/test/-ext-/string/test_ellipsize.rb
index 23ccdb5..d794704 100644
--- a/test/-ext-/string/test_ellipsize.rb
+++ b/test/-ext-/string/test_ellipsize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_enc_associate.rb b/test/-ext-/string/test_enc_associate.rb
index 2c84f49..4fad8e1 100644
--- a/test/-ext-/string/test_enc_associate.rb
+++ b/test/-ext-/string/test_enc_associate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_enc_str_buf_cat.rb b/test/-ext-/string/test_enc_str_buf_cat.rb
index c925aff..72f9039 100644
--- a/test/-ext-/string/test_enc_str_buf_cat.rb
+++ b/test/-ext-/string/test_enc_str_buf_cat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_fstring.rb b/test/-ext-/string/test_fstring.rb
index 3ad9a4c..39ed020 100644
--- a/test/-ext-/string/test_fstring.rb
+++ b/test/-ext-/string/test_fstring.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/string'
diff --git a/test/-ext-/string/test_modify_expand.rb b/test/-ext-/string/test_modify_expand.rb
index cc19a47..5eb7a02 100644
--- a/test/-ext-/string/test_modify_expand.rb
+++ b/test/-ext-/string/test_modify_expand.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_nofree.rb b/test/-ext-/string/test_nofree.rb
index cb034a4..86681e4 100644
--- a/test/-ext-/string/test_nofree.rb
+++ b/test/-ext-/string/test_nofree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_StringNoFree < Test::Unit::TestCase
diff --git a/test/-ext-/string/test_normalize.rb b/test/-ext-/string/test_normalize.rb
index b270a45..8c11bfe 100644
--- a/test/-ext-/string/test_normalize.rb
+++ b/test/-ext-/string/test_normalize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
require "tempfile"
diff --git a/test/-ext-/string/test_qsort.rb b/test/-ext-/string/test_qsort.rb
index 1a6dae0..94aff8c 100644
--- a/test/-ext-/string/test_qsort.rb
+++ b/test/-ext-/string/test_qsort.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_set_len.rb b/test/-ext-/string/test_set_len.rb
index 198129d..1c5252a 100644
--- a/test/-ext-/string/test_set_len.rb
+++ b/test/-ext-/string/test_set_len.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/struct/test_member.rb b/test/-ext-/struct/test_member.rb
index 18e9808..5ee0adc 100644
--- a/test/-ext-/struct/test_member.rb
+++ b/test/-ext-/struct/test_member.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/struct"
diff --git a/test/-ext-/symbol/test_inadvertent_creation.rb b/test/-ext-/symbol/test_inadvertent_creation.rb
index 14afc90..073952f 100644
--- a/test/-ext-/symbol/test_inadvertent_creation.rb
+++ b/test/-ext-/symbol/test_inadvertent_creation.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/symbol"
diff --git a/test/-ext-/symbol/test_type.rb b/test/-ext-/symbol/test_type.rb
index ddd7956..32a700d 100644
--- a/test/-ext-/symbol/test_type.rb
+++ b/test/-ext-/symbol/test_type.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/symbol"
diff --git a/test/-ext-/test_bug-3571.rb b/test/-ext-/test_bug-3571.rb
index d7c26d1..dc9c92b 100644
--- a/test/-ext-/test_bug-3571.rb
+++ b/test/-ext-/test_bug-3571.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_BUG_3571 < Test::Unit::TestCase
diff --git a/test/-ext-/test_bug-5832.rb b/test/-ext-/test_bug-5832.rb
index 11f8a52..6812e64 100644
--- a/test/-ext-/test_bug-5832.rb
+++ b/test/-ext-/test_bug-5832.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require '-test-/bug-5832/bug'
class Test_BUG_5832 < Test::Unit::TestCase
diff --git a/test/-ext-/test_notimplement.rb b/test/-ext-/test_notimplement.rb
index 7394126..0eba7bd 100644
--- a/test/-ext-/test_notimplement.rb
+++ b/test/-ext-/test_notimplement.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require '-test-/notimplement'
class TestNotImplement < Test::Unit::TestCase
diff --git a/test/-ext-/test_printf.rb b/test/-ext-/test_printf.rb
index 1f06ad6..4e4f5b4 100644
--- a/test/-ext-/test_printf.rb
+++ b/test/-ext-/test_printf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/printf"
require_relative '../ruby/allpairs'
diff --git a/test/-ext-/test_recursion.rb b/test/-ext-/test_recursion.rb
index 06faf6d..db7a853 100644
--- a/test/-ext-/test_recursion.rb
+++ b/test/-ext-/test_recursion.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestRecursion < Test::Unit::TestCase
diff --git a/test/-ext-/time/test_new.rb b/test/-ext-/time/test_new.rb
index 5ccf6f0..699201f 100644
--- a/test/-ext-/time/test_new.rb
+++ b/test/-ext-/time/test_new.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/time"
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb
index b5a6e76..33d0c3e 100644
--- a/test/-ext-/tracepoint/test_tracepoint.rb
+++ b/test/-ext-/tracepoint/test_tracepoint.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/tracepoint'
diff --git a/test/-ext-/typeddata/test_typeddata.rb b/test/-ext-/typeddata/test_typeddata.rb
index 31fe32b..058b7b7 100644
--- a/test/-ext-/typeddata/test_typeddata.rb
+++ b/test/-ext-/typeddata/test_typeddata.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/typeddata/typeddata"
diff --git a/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb b/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
index e88dbef..d9fc52e 100644
--- a/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
+++ b/test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestWaitForSingleFD < Test::Unit::TestCase
diff --git a/test/-ext-/win32/test_console_attr.rb b/test/-ext-/win32/test_console_attr.rb
index 3afb2d9..e596e13 100644
--- a/test/-ext-/win32/test_console_attr.rb
+++ b/test/-ext-/win32/test_console_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
if /mswin|mingw/ =~ RUBY_PLATFORM and STDOUT.tty?
require '-test-/win32/console'
require 'io/console'
diff --git a/test/-ext-/win32/test_dln.rb b/test/-ext-/win32/test_dln.rb
index fe289d1..fd5e453 100644
--- a/test/-ext-/win32/test_dln.rb
+++ b/test/-ext-/win32/test_dln.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
require 'rbconfig'
diff --git a/test/-ext-/win32/test_fd_setsize.rb b/test/-ext-/win32/test_fd_setsize.rb
index 6fe889c..4c64376 100644
--- a/test/-ext-/win32/test_fd_setsize.rb
+++ b/test/-ext-/win32/test_fd_setsize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Bug
diff --git a/test/base64/test_base64.rb b/test/base64/test_base64.rb
index c2cd60a..8e11bef 100644
--- a/test/base64/test_base64.rb
+++ b/test/base64/test_base64.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require "test/unit"
require "base64"
diff --git a/test/benchmark/test_benchmark.rb b/test/benchmark/test_benchmark.rb
index 1b9964e..2db1483 100644
--- a/test/benchmark/test_benchmark.rb
+++ b/test/benchmark/test_benchmark.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'benchmark'
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb
index edbaa16..f10c50b 100644
--- a/test/bigdecimal/test_bigdecimal.rb
+++ b/test/bigdecimal/test_bigdecimal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "testbase"
require 'bigdecimal/math'
diff --git a/test/bigdecimal/test_bigdecimal_util.rb b/test/bigdecimal/test_bigdecimal_util.rb
index e4d6400..c3a45b2 100644
--- a/test/bigdecimal/test_bigdecimal_util.rb
+++ b/test/bigdecimal/test_bigdecimal_util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "testbase"
require 'bigdecimal/util'
diff --git a/test/bigdecimal/test_bigmath.rb b/test/bigdecimal/test_bigmath.rb
index 740c755..6f271d0 100644
--- a/test/bigdecimal/test_bigmath.rb
+++ b/test/bigdecimal/test_bigmath.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "testbase"
require "bigdecimal/math"
diff --git a/test/bigdecimal/testbase.rb b/test/bigdecimal/testbase.rb
index c014e61..22b05f0 100644
--- a/test/bigdecimal/testbase.rb
+++ b/test/bigdecimal/testbase.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "bigdecimal"
diff --git a/test/cgi/test_cgi_cookie.rb b/test/cgi/test_cgi_cookie.rb
index eee6215..ae7b14a 100644
--- a/test/cgi/test_cgi_cookie.rb
+++ b/test/cgi/test_cgi_cookie.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/test_cgi_core.rb b/test/cgi/test_cgi_core.rb
index 68e008d..97308a0 100644
--- a/test/cgi/test_cgi_core.rb
+++ b/test/cgi/test_cgi_core.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/test_cgi_header.rb b/test/cgi/test_cgi_header.rb
index 91086c4..b1a0b41 100644
--- a/test/cgi/test_cgi_header.rb
+++ b/test/cgi/test_cgi_header.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'time'
diff --git a/test/cgi/test_cgi_modruby.rb b/test/cgi/test_cgi_modruby.rb
index ed1d519..9813a95 100644
--- a/test/cgi/test_cgi_modruby.rb
+++ b/test/cgi/test_cgi_modruby.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require_relative 'update_env'
diff --git a/test/cgi/test_cgi_multipart.rb b/test/cgi/test_cgi_multipart.rb
index b3df694..f63c2e3 100644
--- a/test/cgi/test_cgi_multipart.rb
+++ b/test/cgi/test_cgi_multipart.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'tempfile'
diff --git a/test/cgi/test_cgi_session.rb b/test/cgi/test_cgi_session.rb
index c2d7bdc..59e8d4c 100644
--- a/test/cgi/test_cgi_session.rb
+++ b/test/cgi/test_cgi_session.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'cgi/session'
diff --git a/test/cgi/test_cgi_tag_helper.rb b/test/cgi/test_cgi_tag_helper.rb
index cc119cb..a48bafd 100644
--- a/test/cgi/test_cgi_tag_helper.rb
+++ b/test/cgi/test_cgi_tag_helper.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/test_cgi_util.rb b/test/cgi/test_cgi_util.rb
index 2c5182b..5662a30 100644
--- a/test/cgi/test_cgi_util.rb
+++ b/test/cgi/test_cgi_util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cgi'
require 'stringio'
diff --git a/test/cgi/update_env.rb b/test/cgi/update_env.rb
index 0cd926d..cbc8dc1 100644
--- a/test/cgi/update_env.rb
+++ b/test/cgi/update_env.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module UpdateEnv
def update_env(environ)
environ.each do |key, val|
diff --git a/test/coverage/test_coverage.rb b/test/coverage/test_coverage.rb
index b7a7ea7..4870b10 100644
--- a/test/coverage/test_coverage.rb
+++ b/test/coverage/test_coverage.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "coverage"
require "tmpdir"
diff --git a/test/csv/base.rb b/test/csv/base.rb
index 621569e..a282c7a 100644
--- a/test/csv/base.rb
+++ b/test/csv/base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "csv"
diff --git a/test/csv/test_csv_parsing.rb b/test/csv/test_csv_parsing.rb
index 319f3f3..ff3d65f 100755
--- a/test/csv/test_csv_parsing.rb
+++ b/test/csv/test_csv_parsing.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_csv_parsing.rb
#
diff --git a/test/csv/test_csv_writing.rb b/test/csv/test_csv_writing.rb
index 704c1d7..de82dae 100755
--- a/test/csv/test_csv_writing.rb
+++ b/test/csv/test_csv_writing.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_csv_writing.rb
#
diff --git a/test/csv/test_data_converters.rb b/test/csv/test_data_converters.rb
index 89b6dd1..70f9963 100755
--- a/test/csv/test_data_converters.rb
+++ b/test/csv/test_data_converters.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_data_converters.rb
#
diff --git a/test/csv/test_encodings.rb b/test/csv/test_encodings.rb
index dc45692..7460a3f 100755
--- a/test/csv/test_encodings.rb
+++ b/test/csv/test_encodings.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_encodings.rb
#
diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb
index e314657..37fdab8 100755
--- a/test/csv/test_features.rb
+++ b/test/csv/test_features.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_features.rb
#
diff --git a/test/csv/test_headers.rb b/test/csv/test_headers.rb
index 79ccd20..d8a1c15 100755
--- a/test/csv/test_headers.rb
+++ b/test/csv/test_headers.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_headers.rb
#
diff --git a/test/csv/test_interface.rb b/test/csv/test_interface.rb
index d6bf470..a12545c 100755
--- a/test/csv/test_interface.rb
+++ b/test/csv/test_interface.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_interface.rb
#
diff --git a/test/csv/test_row.rb b/test/csv/test_row.rb
index a8aeb28..1fa15d3 100755
--- a/test/csv/test_row.rb
+++ b/test/csv/test_row.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_row.rb
#
diff --git a/test/csv/test_table.rb b/test/csv/test_table.rb
index 7d2148c..80e553e 100755
--- a/test/csv/test_table.rb
+++ b/test/csv/test_table.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# tc_table.rb
#
diff --git a/test/csv/ts_all.rb b/test/csv/ts_all.rb
index 3893841..9eadf12 100644
--- a/test/csv/ts_all.rb
+++ b/test/csv/ts_all.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
+# frozen_string_literal: false
# ts_all.rb
#
diff --git a/test/date/test_date.rb b/test/date/test_date.rb
index 3d8bf86..3bb1f4a 100644
--- a/test/date/test_date.rb
+++ b/test/date/test_date.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_arith.rb b/test/date/test_date_arith.rb
index 7b79c18..f5ac5bf 100644
--- a/test/date/test_date_arith.rb
+++ b/test/date/test_date_arith.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_attr.rb b/test/date/test_date_attr.rb
index bc6bec2..3d1b0a2 100644
--- a/test/date/test_date_attr.rb
+++ b/test/date/test_date_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_base.rb b/test/date/test_date_base.rb
index 1f3d8c0..06fec19 100644
--- a/test/date/test_date_base.rb
+++ b/test/date/test_date_base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_compat.rb b/test/date/test_date_compat.rb
index 8284007..1bd30b5 100644
--- a/test/date/test_date_compat.rb
+++ b/test/date/test_date_compat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_conv.rb b/test/date/test_date_conv.rb
index daf0374..8b99970 100644
--- a/test/date/test_date_conv.rb
+++ b/test/date/test_date_conv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_marshal.rb b/test/date/test_date_marshal.rb
index 4ea5565..27ae1e9 100644
--- a/test/date/test_date_marshal.rb
+++ b/test/date/test_date_marshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_new.rb b/test/date/test_date_new.rb
index 0bbbfee..80ecbc2 100644
--- a/test/date/test_date_new.rb
+++ b/test/date/test_date_new.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_parse.rb b/test/date/test_date_parse.rb
index e0cd602..d980674 100644
--- a/test/date/test_date_parse.rb
+++ b/test/date/test_date_parse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb
index 0ed9215..7472a43 100644
--- a/test/date/test_date_strftime.rb
+++ b/test/date/test_date_strftime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_date_strptime.rb b/test/date/test_date_strptime.rb
index ae149bb..15fdc94 100644
--- a/test/date/test_date_strptime.rb
+++ b/test/date/test_date_strptime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/date/test_switch_hitter.rb b/test/date/test_switch_hitter.rb
index 08e2301..931d736 100644
--- a/test/date/test_switch_hitter.rb
+++ b/test/date/test_switch_hitter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'date'
diff --git a/test/dbm/test_dbm.rb b/test/dbm/test_dbm.rb
index c783b49..cd8c3fd 100644
--- a/test/dbm/test_dbm.rb
+++ b/test/dbm/test_dbm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/digest/digest/foo.rb b/test/digest/digest/foo.rb
index d576ef0..6d42b00 100644
--- a/test/digest/digest/foo.rb
+++ b/test/digest/digest/foo.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Digest
Foo = nil
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index ccf0a26..039c170 100644
--- a/test/digest/test_digest.rb
+++ b/test/digest/test_digest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $RoughId: test.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
# $Id$
diff --git a/test/digest/test_digest_extend.rb b/test/digest/test_digest_extend.rb
index 46158a6..9dd026b 100644
--- a/test/digest/test_digest_extend.rb
+++ b/test/digest/test_digest_extend.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'digest'
require_relative '../lib/with_different_ofs.rb'
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index 11b542a..4488e1b 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'drb/drb'
require 'drb/extservm'
diff --git a/test/drb/ignore_test_drb.rb b/test/drb/ignore_test_drb.rb
index 8b94650..996a554 100644
--- a/test/drb/ignore_test_drb.rb
+++ b/test/drb/ignore_test_drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drbtest'
module DRbTests
diff --git a/test/drb/test_acl.rb b/test/drb/test_acl.rb
index a1ee1d4..c886ae2 100644
--- a/test/drb/test_acl.rb
+++ b/test/drb/test_acl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# acltest.rb - ACL unit test
# Copyright (c) 2000 Masatoshi SEKI
#
diff --git a/test/drb/test_drb.rb b/test/drb/test_drb.rb
index 016e62f..dd2855e 100644
--- a/test/drb/test_drb.rb
+++ b/test/drb/test_drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'drbtest'
module DRbTests
diff --git a/test/drb/test_drbssl.rb b/test/drb/test_drbssl.rb
index bcf5f90..1f14953 100644
--- a/test/drb/test_drbssl.rb
+++ b/test/drb/test_drbssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'drbtest'
begin
diff --git a/test/drb/test_drbunix.rb b/test/drb/test_drbunix.rb
index c422b7a..7ece245 100644
--- a/test/drb/test_drbunix.rb
+++ b/test/drb/test_drbunix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'drbtest'
begin
diff --git a/test/drb/ut_array.rb b/test/drb/ut_array.rb
index 01599f1..d13dda3 100644
--- a/test/drb/ut_array.rb
+++ b/test/drb/ut_array.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_array_drbssl.rb b/test/drb/ut_array_drbssl.rb
index fa9afa6..08849ca 100644
--- a/test/drb/ut_array_drbssl.rb
+++ b/test/drb/ut_array_drbssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
require 'drb/ssl'
diff --git a/test/drb/ut_array_drbunix.rb b/test/drb/ut_array_drbunix.rb
index dd39790..b656cda 100644
--- a/test/drb/ut_array_drbunix.rb
+++ b/test/drb/ut_array_drbunix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_drb.rb b/test/drb/ut_drb.rb
index 0dd0988..6a94a0f 100644
--- a/test/drb/ut_drb.rb
+++ b/test/drb/ut_drb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
require 'timeout'
diff --git a/test/drb/ut_drb_drbssl.rb b/test/drb/ut_drb_drbssl.rb
index b6d1c12..ddaa859 100644
--- a/test/drb/ut_drb_drbssl.rb
+++ b/test/drb/ut_drb_drbssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "ut_drb"
require 'drb/ssl'
diff --git a/test/drb/ut_drb_drbunix.rb b/test/drb/ut_drb_drbunix.rb
index c997d24..ecf0920 100644
--- a/test/drb/ut_drb_drbunix.rb
+++ b/test/drb/ut_drb_drbunix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "#{File.dirname(File.expand_path(__FILE__))}/ut_drb"
if __FILE__ == $0
diff --git a/test/drb/ut_eq.rb b/test/drb/ut_eq.rb
index cc86158..56285a3 100644
--- a/test/drb/ut_eq.rb
+++ b/test/drb/ut_eq.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_eval.rb b/test/drb/ut_eval.rb
index c456790..0a81b40 100644
--- a/test/drb/ut_eval.rb
+++ b/test/drb/ut_eval.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_large.rb b/test/drb/ut_large.rb
index c2fbd3e..c00279e 100644
--- a/test/drb/ut_large.rb
+++ b/test/drb/ut_large.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
require 'timeout'
diff --git a/test/drb/ut_port.rb b/test/drb/ut_port.rb
index 3009db5..d317a30 100644
--- a/test/drb/ut_port.rb
+++ b/test/drb/ut_port.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_safe1.rb b/test/drb/ut_safe1.rb
index 43eb367..4b16fa7 100644
--- a/test/drb/ut_safe1.rb
+++ b/test/drb/ut_safe1.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'drb/drb'
require 'drb/extserv'
diff --git a/test/drb/ut_timerholder.rb b/test/drb/ut_timerholder.rb
index 6c62ea7..1b992d9 100644
--- a/test/drb/ut_timerholder.rb
+++ b/test/drb/ut_timerholder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'runit/testcase'
require 'runit/cui/testrunner'
require 'timerholder'
diff --git a/test/dtrace/dummy.rb b/test/dtrace/dummy.rb
index e856142..932cb4e 100644
--- a/test/dtrace/dummy.rb
+++ b/test/dtrace/dummy.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
# this is a dummy file used by test/dtrace/test_require.rb
diff --git a/test/dtrace/helper.rb b/test/dtrace/helper.rb
index f76c41b..a479b1a 100644
--- a/test/dtrace/helper.rb
+++ b/test/dtrace/helper.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
diff --git a/test/dtrace/test_array_create.rb b/test/dtrace/test_array_create.rb
index d849bcc..44d4657 100644
--- a/test/dtrace/test_array_create.rb
+++ b/test/dtrace/test_array_create.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_cmethod.rb b/test/dtrace/test_cmethod.rb
index 0a9107f..a0aa1b6 100644
--- a/test/dtrace/test_cmethod.rb
+++ b/test/dtrace/test_cmethod.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb
index 74aee64..fc07ccc 100644
--- a/test/dtrace/test_function_entry.rb
+++ b/test/dtrace/test_function_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_gc.rb b/test/dtrace/test_gc.rb
index 2f58a11..77de799 100644
--- a/test/dtrace/test_gc.rb
+++ b/test/dtrace/test_gc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_hash_create.rb b/test/dtrace/test_hash_create.rb
index 2cceded..83a4d00 100644
--- a/test/dtrace/test_hash_create.rb
+++ b/test/dtrace/test_hash_create.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_load.rb b/test/dtrace/test_load.rb
index cceb0c2..1c208bd 100644
--- a/test/dtrace/test_load.rb
+++ b/test/dtrace/test_load.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
require 'tempfile'
diff --git a/test/dtrace/test_method_cache.rb b/test/dtrace/test_method_cache.rb
index d8ddf45..7ecec19 100644
--- a/test/dtrace/test_method_cache.rb
+++ b/test/dtrace/test_method_cache.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_object_create_start.rb b/test/dtrace/test_object_create_start.rb
index 2be9611..81f8ed2 100644
--- a/test/dtrace/test_object_create_start.rb
+++ b/test/dtrace/test_object_create_start.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_raise.rb b/test/dtrace/test_raise.rb
index 48fdbf1..81e64e8 100644
--- a/test/dtrace/test_raise.rb
+++ b/test/dtrace/test_raise.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_require.rb b/test/dtrace/test_require.rb
index 46a1d76..9fa6c0e 100644
--- a/test/dtrace/test_require.rb
+++ b/test/dtrace/test_require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_singleton_function.rb b/test/dtrace/test_singleton_function.rb
index 9e118f6..3698a02 100644
--- a/test/dtrace/test_singleton_function.rb
+++ b/test/dtrace/test_singleton_function.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/dtrace/test_string.rb b/test/dtrace/test_string.rb
index 873d5ac..407280b 100644
--- a/test/dtrace/test_string.rb
+++ b/test/dtrace/test_string.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'helper'
module DTrace
diff --git a/test/erb/test_erb.rb b/test/erb/test_erb.rb
index 1f1253f..4e2d49a 100644
--- a/test/erb/test_erb.rb
+++ b/test/erb/test_erb.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'erb'
diff --git a/test/erb/test_erb_command.rb b/test/erb/test_erb_command.rb
index abc8fdb..406b14c 100644
--- a/test/erb/test_erb_command.rb
+++ b/test/erb/test_erb_command.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestErbCommand < Test::Unit::TestCase
diff --git a/test/erb/test_erb_m17n.rb b/test/erb/test_erb_m17n.rb
index f60dd10..a7840c9 100644
--- a/test/erb/test_erb_m17n.rb
+++ b/test/erb/test_erb_m17n.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require 'test/unit'
require 'erb'
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb
index 5ac09a7..ec9083e 100644
--- a/test/etc/test_etc.rb
+++ b/test/etc/test_etc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "etc"
diff --git a/test/excludes/TestException.rb b/test/excludes/TestException.rb
index 78ee4ca..a992950 100644
--- a/test/excludes/TestException.rb
+++ b/test/excludes/TestException.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
reason = %[\
Because machine stack overflow can happen anywhere, even critical
sections including external libraries, it is very neary impossible to
diff --git a/test/excludes/TestIO_Console.rb b/test/excludes/TestIO_Console.rb
index 26780c0..caf1935 100644
--- a/test/excludes/TestIO_Console.rb
+++ b/test/excludes/TestIO_Console.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
exclude(:test_getpass, 'not portable')
diff --git a/test/excludes/TestThread.rb b/test/excludes/TestThread.rb
index 0b4050b..ea73a4c 100644
--- a/test/excludes/TestThread.rb
+++ b/test/excludes/TestThread.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
exclude(/_stack_size$/, 'often too expensive')
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
index 0952cc2..1da3d93 100644
--- a/test/fiddle/helper.rb
+++ b/test/fiddle/helper.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'minitest/autorun'
require 'fiddle'
diff --git a/test/fiddle/test_c_struct_entry.rb b/test/fiddle/test_c_struct_entry.rb
index de5449b..39b7aef 100644
--- a/test/fiddle/test_c_struct_entry.rb
+++ b/test/fiddle/test_c_struct_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
require 'fiddle/struct'
diff --git a/test/fiddle/test_c_union_entity.rb b/test/fiddle/test_c_union_entity.rb
index 165c4ec..3c4d538 100644
--- a/test/fiddle/test_c_union_entity.rb
+++ b/test/fiddle/test_c_union_entity.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
require 'fiddle/struct'
diff --git a/test/fiddle/test_closure.rb b/test/fiddle/test_closure.rb
index 56839e7..0e3574f 100644
--- a/test/fiddle/test_closure.rb
+++ b/test/fiddle/test_closure.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
rescue LoadError
diff --git a/test/fiddle/test_cparser.rb b/test/fiddle/test_cparser.rb
index 4d4799d..16134f5 100644
--- a/test/fiddle/test_cparser.rb
+++ b/test/fiddle/test_cparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
require 'fiddle/cparser'
diff --git a/test/fiddle/test_fiddle.rb b/test/fiddle/test_fiddle.rb
index 4c6ab97..cf4839a 100644
--- a/test/fiddle/test_fiddle.rb
+++ b/test/fiddle/test_fiddle.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
rescue LoadError
diff --git a/test/fiddle/test_func.rb b/test/fiddle/test_func.rb
index 529aaa8..5cdf90f 100644
--- a/test/fiddle/test_func.rb
+++ b/test/fiddle/test_func.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
rescue LoadError
diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb
index 9351f96..06d0eb2 100644
--- a/test/fiddle/test_function.rb
+++ b/test/fiddle/test_function.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
rescue LoadError
diff --git a/test/fiddle/test_handle.rb b/test/fiddle/test_handle.rb
index 54165f0..f14357c 100644
--- a/test/fiddle/test_handle.rb
+++ b/test/fiddle/test_handle.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
rescue LoadError
diff --git a/test/fiddle/test_import.rb b/test/fiddle/test_import.rb
index c83f50f..ba68296 100644
--- a/test/fiddle/test_import.rb
+++ b/test/fiddle/test_import.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
begin
require_relative 'helper'
require 'fiddle/import'
diff --git a/test/fiddle/test_pointer.rb b/test/fiddle/test_pointer.rb
index ef54470..ec67732 100644
--- a/test/fiddle/test_pointer.rb
+++ b/test/fiddle/test_pointer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require_relative 'helper'
rescue LoadError
diff --git a/test/fileutils/clobber.rb b/test/fileutils/clobber.rb
index 9f94665..ae416e9 100644
--- a/test/fileutils/clobber.rb
+++ b/test/fileutils/clobber.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'fileutils'
require 'test/unit'
require 'tmpdir'
diff --git a/test/fileutils/fileasserts.rb b/test/fileutils/fileasserts.rb
index b6067f6..512d31e 100644
--- a/test/fileutils/fileasserts.rb
+++ b/test/fileutils/fileasserts.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
module Test
diff --git a/test/fileutils/test_dryrun.rb b/test/fileutils/test_dryrun.rb
index 03f6bed..bc59f8d 100644
--- a/test/fileutils/test_dryrun.rb
+++ b/test/fileutils/test_dryrun.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
require 'fileutils'
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 1a6f1c5..f5ca9d2 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
require 'fileutils'
diff --git a/test/fileutils/test_nowrite.rb b/test/fileutils/test_nowrite.rb
index 946eed3..f331d51 100644
--- a/test/fileutils/test_nowrite.rb
+++ b/test/fileutils/test_nowrite.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
require 'fileutils'
diff --git a/test/fileutils/test_verbose.rb b/test/fileutils/test_verbose.rb
index fb069bc..1daf9f0 100644
--- a/test/fileutils/test_verbose.rb
+++ b/test/fileutils/test_verbose.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
require 'test/unit'
diff --git a/test/fileutils/visibility_tests.rb b/test/fileutils/visibility_tests.rb
index a140614..6bb5a9f 100644
--- a/test/fileutils/visibility_tests.rb
+++ b/test/fileutils/visibility_tests.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'fileutils'
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 729424d..0a42da3 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'gdbm'
rescue LoadError
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index ba9063e..36619ce 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'io/console'
require 'test/unit'
diff --git a/test/io/nonblock/test_flush.rb b/test/io/nonblock/test_flush.rb
index 70e65cc..bc60cab 100644
--- a/test/io/nonblock/test_flush.rb
+++ b/test/io/nonblock/test_flush.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
begin
diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb
index bef4731..637917d 100644
--- a/test/io/wait/test_io_wait.rb
+++ b/test/io/wait/test_io_wait.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
require 'socket'
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb
index eeeda12..608c41b 100644
--- a/test/irb/test_completion.rb
+++ b/test/irb/test_completion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module TestIRB
diff --git a/test/irb/test_option.rb b/test/irb/test_option.rb
index a7dd663..85ebd08 100644
--- a/test/irb/test_option.rb
+++ b/test/irb/test_option.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module TestIRB
diff --git a/test/irb/test_raise_no_backtrace_exception.rb b/test/irb/test_raise_no_backtrace_exception.rb
index 67fb5b6..d3882a4 100644
--- a/test/irb/test_raise_no_backtrace_exception.rb
+++ b/test/irb/test_raise_no_backtrace_exception.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module TestIRB
diff --git a/test/json/setup_variant.rb b/test/json/setup_variant.rb
index 2dab184..f7fb2a1 100644
--- a/test/json/setup_variant.rb
+++ b/test/json/setup_variant.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
case ENV['JSON']
when 'pure'
$:.unshift 'lib'
diff --git a/test/json/test_json.rb b/test/json/test_json.rb
index 07287ee..8fe9459 100755
--- a/test/json/test_json.rb
+++ b/test/json/test_json.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_addition.rb b/test/json/test_json_addition.rb
index 6034a18..f205931 100644
--- a/test/json/test_json_addition.rb
+++ b/test/json/test_json_addition.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# -*- coding:utf-8 -*-
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_encoding.rb b/test/json/test_json_encoding.rb
index 13903cd..50fb4ea 100644
--- a/test/json/test_json_encoding.rb
+++ b/test/json/test_json_encoding.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_fixtures.rb b/test/json/test_json_fixtures.rb
index c861439..e192706 100644
--- a/test/json/test_json_fixtures.rb
+++ b/test/json/test_json_fixtures.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_generate.rb b/test/json/test_json_generate.rb
index 5da0d2f..50895f6 100644
--- a/test/json/test_json_generate.rb
+++ b/test/json/test_json_generate.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_generic_object.rb b/test/json/test_json_generic_object.rb
index c43c776..e04e1a1 100644
--- a/test/json/test_json_generic_object.rb
+++ b/test/json/test_json_generic_object.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_string_matching.rb b/test/json/test_json_string_matching.rb
index c233df8..6158231 100644
--- a/test/json/test_json_string_matching.rb
+++ b/test/json/test_json_string_matching.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/json/test_json_unicode.rb b/test/json/test_json_unicode.rb
index 8352d5c..16234f0 100644
--- a/test/json/test_json_unicode.rb
+++ b/test/json/test_json_unicode.rb
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require File.join(File.dirname(__FILE__), 'setup_variant')
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb
index 2f2ec6d..a0b907c 100644
--- a/test/lib/envutil.rb
+++ b/test/lib/envutil.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require "open3"
require "timeout"
require_relative "find_executable"
diff --git a/test/lib/find_executable.rb b/test/lib/find_executable.rb
index 4ba9a05..0ddd307 100644
--- a/test/lib/find_executable.rb
+++ b/test/lib/find_executable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rbconfig"
module EnvUtil
diff --git a/test/lib/iseq_loader_checker.rb b/test/lib/iseq_loader_checker.rb
index db9b767..675b658 100644
--- a/test/lib/iseq_loader_checker.rb
+++ b/test/lib/iseq_loader_checker.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require '-test-/iseq_load/iseq_load'
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb
index 98a598f..a9bc581 100644
--- a/test/lib/leakchecker.rb
+++ b/test/lib/leakchecker.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class LeakChecker
def initialize
@fd_info = find_fds
diff --git a/test/lib/memory_status.rb b/test/lib/memory_status.rb
index b275db0..deaaeb2 100644
--- a/test/lib/memory_status.rb
+++ b/test/lib/memory_status.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module Memory
keys = []
vals = []
diff --git a/test/lib/minitest/autorun.rb b/test/lib/minitest/autorun.rb
index 88b1e05..40640b2 100644
--- a/test/lib/minitest/autorun.rb
+++ b/test/lib/minitest/autorun.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
begin
require 'rubygems'
diff --git a/test/lib/minitest/benchmark.rb b/test/lib/minitest/benchmark.rb
index 5195fc0..21f0b29 100644
--- a/test/lib/minitest/benchmark.rb
+++ b/test/lib/minitest/benchmark.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require 'minitest/unit'
diff --git a/test/lib/minitest/mock.rb b/test/lib/minitest/mock.rb
index 19acaff..07e8811 100644
--- a/test/lib/minitest/mock.rb
+++ b/test/lib/minitest/mock.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
class MockExpectationError < StandardError; end # :nodoc:
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index e67ca02..62f89e9 100644
--- a/test/lib/minitest/unit.rb
+++ b/test/lib/minitest/unit.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require "optparse"
require "rbconfig"
diff --git a/test/lib/profile_test_all.rb b/test/lib/profile_test_all.rb
index 08de7bb..4496d3f 100644
--- a/test/lib/profile_test_all.rb
+++ b/test/lib/profile_test_all.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# purpose:
# Profile memory usage of each tests.
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index d886f29..85e6d76 100644
--- a/test/lib/test/unit.rb
+++ b/test/lib/test/unit.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
gem 'minitest', '< 5.0.0' if defined? Gem
rescue Gem::LoadError
diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb
index 201e245..c749384 100644
--- a/test/lib/test/unit/assertions.rb
+++ b/test/lib/test/unit/assertions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'minitest/unit'
require 'pp'
diff --git a/test/lib/test/unit/parallel.rb b/test/lib/test/unit/parallel.rb
index 780deda..6a319c3 100644
--- a/test/lib/test/unit/parallel.rb
+++ b/test/lib/test/unit/parallel.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../.."
require 'test/unit'
diff --git a/test/lib/test/unit/testcase.rb b/test/lib/test/unit/testcase.rb
index d6ea4fd..10348b5 100644
--- a/test/lib/test/unit/testcase.rb
+++ b/test/lib/test/unit/testcase.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit/assertions'
module Test
diff --git a/test/lib/tracepointchecker.rb b/test/lib/tracepointchecker.rb
index 2d56e65..73631d4 100644
--- a/test/lib/tracepointchecker.rb
+++ b/test/lib/tracepointchecker.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module TracePointChecker
STATE = {
count: 0,
diff --git a/test/lib/with_different_ofs.rb b/test/lib/with_different_ofs.rb
index 76dfa68..164914f 100644
--- a/test/lib/with_different_ofs.rb
+++ b/test/lib/with_different_ofs.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module DifferentOFS
module WithDifferentOFS
def setup
diff --git a/test/lib/zombie_hunter.rb b/test/lib/zombie_hunter.rb
index 77be4df..8a8fba6 100644
--- a/test/lib/zombie_hunter.rb
+++ b/test/lib/zombie_hunter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module ZombieHunter
def after_teardown
super
diff --git a/test/logger/test_logdevice.rb b/test/logger/test_logdevice.rb
index f6dcf9a..8a79389 100644
--- a/test/logger/test_logdevice.rb
+++ b/test/logger/test_logdevice.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'logger'
require 'tempfile'
diff --git a/test/logger/test_logger.rb b/test/logger/test_logger.rb
index 24a53c1..836d3b3 100644
--- a/test/logger/test_logger.rb
+++ b/test/logger/test_logger.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'logger'
require 'tempfile'
diff --git a/test/logger/test_severity.rb b/test/logger/test_severity.rb
index 045461c..f17a392 100644
--- a/test/logger/test_severity.rb
+++ b/test/logger/test_severity.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'logger'
diff --git a/test/matrix/test_matrix.rb b/test/matrix/test_matrix.rb
index 4e4dda0..425ec25 100644
--- a/test/matrix/test_matrix.rb
+++ b/test/matrix/test_matrix.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'matrix'
diff --git a/test/matrix/test_vector.rb b/test/matrix/test_vector.rb
index 77fc68d..72082be 100644
--- a/test/matrix/test_vector.rb
+++ b/test/matrix/test_vector.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'matrix'
diff --git a/test/minitest/metametameta.rb b/test/minitest/metametameta.rb
index 9ffbdb0..a12717c 100644
--- a/test/minitest/metametameta.rb
+++ b/test/minitest/metametameta.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require 'tempfile'
require 'stringio'
diff --git a/test/minitest/test_minitest_benchmark.rb b/test/minitest/test_minitest_benchmark.rb
index d04bb9a..a783e68 100644
--- a/test/minitest/test_minitest_benchmark.rb
+++ b/test/minitest/test_minitest_benchmark.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require 'minitest/autorun'
require 'minitest/benchmark'
diff --git a/test/minitest/test_minitest_mock.rb b/test/minitest/test_minitest_mock.rb
index 062cda5..0db9726 100644
--- a/test/minitest/test_minitest_mock.rb
+++ b/test/minitest/test_minitest_mock.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require 'minitest/autorun'
diff --git a/test/minitest/test_minitest_unit.rb b/test/minitest/test_minitest_unit.rb
index 61bfe25..315c36d 100644
--- a/test/minitest/test_minitest_unit.rb
+++ b/test/minitest/test_minitest_unit.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require 'pathname'
require 'minitest/metametameta'
diff --git a/test/misc/test_ruby_mode.rb b/test/misc/test_ruby_mode.rb
index 5be0174..a91e1c2 100644
--- a/test/misc/test_ruby_mode.rb
+++ b/test/misc/test_ruby_mode.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index d8e2a04..86bdd29 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$extmk = true
require 'test/unit'
diff --git a/test/mkmf/test_config.rb b/test/mkmf/test_config.rb
index 7bf537e..07ed641 100644
--- a/test/mkmf/test_config.rb
+++ b/test/mkmf/test_config.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$extmk = true
require 'test/unit'
diff --git a/test/mkmf/test_constant.rb b/test/mkmf/test_constant.rb
index fd1f940..f5a87a1 100644
--- a/test/mkmf/test_constant.rb
+++ b/test/mkmf/test_constant.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_convertible.rb b/test/mkmf/test_convertible.rb
index eec2d12..1baf892 100644
--- a/test/mkmf/test_convertible.rb
+++ b/test/mkmf/test_convertible.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_find_executable.rb b/test/mkmf/test_find_executable.rb
index fe45ef2..d2b460b 100644
--- a/test/mkmf/test_find_executable.rb
+++ b/test/mkmf/test_find_executable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_flags.rb b/test/mkmf/test_flags.rb
index e49d474..69a1084 100644
--- a/test/mkmf/test_flags.rb
+++ b/test/mkmf/test_flags.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_framework.rb b/test/mkmf/test_framework.rb
index 70ea8c3..ae05b0c 100644
--- a/test/mkmf/test_framework.rb
+++ b/test/mkmf/test_framework.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_have_func.rb b/test/mkmf/test_have_func.rb
index 8049ffb..5f76b72 100644
--- a/test/mkmf/test_have_func.rb
+++ b/test/mkmf/test_have_func.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
require 'tempfile'
diff --git a/test/mkmf/test_have_library.rb b/test/mkmf/test_have_library.rb
index bf17b85..bb9ce69 100644
--- a/test/mkmf/test_have_library.rb
+++ b/test/mkmf/test_have_library.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
require 'tempfile'
diff --git a/test/mkmf/test_have_macro.rb b/test/mkmf/test_have_macro.rb
index 43c4029..ebc5648 100644
--- a/test/mkmf/test_have_macro.rb
+++ b/test/mkmf/test_have_macro.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
require 'tempfile'
diff --git a/test/mkmf/test_libs.rb b/test/mkmf/test_libs.rb
index 27674df..bb65e4d 100644
--- a/test/mkmf/test_libs.rb
+++ b/test/mkmf/test_libs.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_signedness.rb b/test/mkmf/test_signedness.rb
index 8d58073..589dcb5 100644
--- a/test/mkmf/test_signedness.rb
+++ b/test/mkmf/test_signedness.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/mkmf/test_sizeof.rb b/test/mkmf/test_sizeof.rb
index c014422..742c3d6 100644
--- a/test/mkmf/test_sizeof.rb
+++ b/test/mkmf/test_sizeof.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'base'
class TestMkmf
diff --git a/test/monitor/test_monitor.rb b/test/monitor/test_monitor.rb
index 088bf28..66c3e83 100644
--- a/test/monitor/test_monitor.rb
+++ b/test/monitor/test_monitor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "monitor"
require "thread"
diff --git a/test/net/http/test_buffered_io.rb b/test/net/http/test_buffered_io.rb
index e24e7c1..8c299ea 100644
--- a/test/net/http/test_buffered_io.rb
+++ b/test/net/http/test_buffered_io.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'net/http'
require 'stringio'
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 714e576..d8983e9 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'net/http'
require 'stringio'
diff --git a/test/net/http/test_http_request.rb b/test/net/http/test_http_request.rb
index 1dcb847..35c935a 100644
--- a/test/net/http/test_http_request.rb
+++ b/test/net/http/test_http_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
require 'stringio'
diff --git a/test/net/http/test_httpheader.rb b/test/net/http/test_httpheader.rb
index 224d8bb..2f3a0f1 100644
--- a/test/net/http/test_httpheader.rb
+++ b/test/net/http/test_httpheader.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index a860205..eb1a792 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
require 'stringio'
diff --git a/test/net/http/test_httpresponses.rb b/test/net/http/test_httpresponses.rb
index bf7fbee..b389e16 100644
--- a/test/net/http/test_httpresponses.rb
+++ b/test/net/http/test_httpresponses.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 8177d94..dfdb221 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
begin
require 'net/https'
diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb
index 1c8503b..f833f1a 100644
--- a/test/net/http/test_https_proxy.rb
+++ b/test/net/http/test_https_proxy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'net/https'
rescue LoadError
diff --git a/test/net/http/utils.rb b/test/net/http/utils.rb
index dcd9469..8d0ecd6 100644
--- a/test/net/http/utils.rb
+++ b/test/net/http/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'webrick'
begin
require "webrick/https"
diff --git a/test/net/pop/test_pop.rb b/test/net/pop/test_pop.rb
index 7aa65a4..f06ccb4 100644
--- a/test/net/pop/test_pop.rb
+++ b/test/net/pop/test_pop.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/pop'
require 'test/unit'
require 'digest/md5'
diff --git a/test/net/protocol/test_protocol.rb b/test/net/protocol/test_protocol.rb
index 4453422..0161fbc 100644
--- a/test/net/protocol/test_protocol.rb
+++ b/test/net/protocol/test_protocol.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "net/protocol"
require "stringio"
diff --git a/test/net/smtp/test_response.rb b/test/net/smtp/test_response.rb
index cfd90b1..79ac1d2 100644
--- a/test/net/smtp/test_response.rb
+++ b/test/net/smtp/test_response.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/smtp'
require 'test/unit'
diff --git a/test/net/smtp/test_smtp.rb b/test/net/smtp/test_smtp.rb
index d8bb0c1..0edb341 100644
--- a/test/net/smtp/test_smtp.rb
+++ b/test/net/smtp/test_smtp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/smtp'
require 'stringio'
require 'test/unit'
diff --git a/test/net/smtp/test_ssl_socket.rb b/test/net/smtp/test_ssl_socket.rb
index ff229b5..2079219 100644
--- a/test/net/smtp/test_ssl_socket.rb
+++ b/test/net/smtp/test_ssl_socket.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/smtp'
require 'test/unit'
diff --git a/test/nkf/test_kconv.rb b/test/nkf/test_kconv.rb
index 09c0ce8..de09bcd 100644
--- a/test/nkf/test_kconv.rb
+++ b/test/nkf/test_kconv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'kconv'
diff --git a/test/nkf/test_nkf.rb b/test/nkf/test_nkf.rb
index 7329e75..eb51bf8 100644
--- a/test/nkf/test_nkf.rb
+++ b/test/nkf/test_nkf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'nkf'
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index de71994..f3ea88f 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "objspace"
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb
index 8955d72..fd2118d 100644
--- a/test/openssl/test_asn1.rb
+++ b/test/openssl/test_asn1.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestASN1 < Test::Unit::TestCase
diff --git a/test/openssl/test_bn.rb b/test/openssl/test_bn.rb
index 667cb29..848d1fe 100644
--- a/test/openssl/test_bn.rb
+++ b/test/openssl/test_bn.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_buffering.rb b/test/openssl/test_buffering.rb
index 0ca6459..fe07b46 100644
--- a/test/openssl/test_buffering.rb
+++ b/test/openssl/test_buffering.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
require 'stringio'
diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb
index 6f92c38..89c176f 100644
--- a/test/openssl/test_cipher.rb
+++ b/test/openssl/test_cipher.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb
index 62f9fab..8f5bdb2 100644
--- a/test/openssl/test_config.rb
+++ b/test/openssl/test_config.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestConfig < Test::Unit::TestCase
diff --git a/test/openssl/test_digest.rb b/test/openssl/test_digest.rb
index 5390225..e206ca0 100644
--- a/test/openssl/test_digest.rb
+++ b/test/openssl/test_digest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_engine.rb b/test/openssl/test_engine.rb
index a7264d0..3521de6 100644
--- a/test/openssl/test_engine.rb
+++ b/test/openssl/test_engine.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestEngine < Test::Unit::TestCase
diff --git a/test/openssl/test_fips.rb b/test/openssl/test_fips.rb
index 6e4ac6d..33769c9 100644
--- a/test/openssl/test_fips.rb
+++ b/test/openssl/test_fips.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_hmac.rb b/test/openssl/test_hmac.rb
index f709ebd..135d26f 100644
--- a/test/openssl/test_hmac.rb
+++ b/test/openssl/test_hmac.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require_relative 'utils'
diff --git a/test/openssl/test_ns_spki.rb b/test/openssl/test_ns_spki.rb
index ab07bfb..4f6e6f5 100644
--- a/test/openssl/test_ns_spki.rb
+++ b/test/openssl/test_ns_spki.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_ocsp.rb b/test/openssl/test_ocsp.rb
index af727d8..1a969fd 100644
--- a/test/openssl/test_ocsp.rb
+++ b/test/openssl/test_ocsp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index 33ec555..06ed383 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/test_pair.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_partial_record_read.rb b/test/openssl/test_partial_record_read.rb
index 1899a30..71e644a 100644
--- a/test/openssl/test_partial_record_read.rb
+++ b/test/openssl/test_partial_record_read.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkcs12.rb b/test/openssl/test_pkcs12.rb
index c44cee0..ba07d76 100644
--- a/test/openssl/test_pkcs12.rb
+++ b/test/openssl/test_pkcs12.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkcs5.rb b/test/openssl/test_pkcs5.rb
index 5e85dde..f38fd71 100644
--- a/test/openssl/test_pkcs5.rb
+++ b/test/openssl/test_pkcs5.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
class OpenSSL::TestPKCS5 < Test::Unit::TestCase
diff --git a/test/openssl/test_pkcs7.rb b/test/openssl/test_pkcs7.rb
index 47bd4f3..ce99db5 100644
--- a/test/openssl/test_pkcs7.rb
+++ b/test/openssl/test_pkcs7.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkey_dh.rb b/test/openssl/test_pkey_dh.rb
index 040d030..9ef4025 100644
--- a/test/openssl/test_pkey_dh.rb
+++ b/test/openssl/test_pkey_dh.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_pkey_dsa.rb b/test/openssl/test_pkey_dsa.rb
index e4ea1b5..eb3e4f1 100644
--- a/test/openssl/test_pkey_dsa.rb
+++ b/test/openssl/test_pkey_dsa.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
require 'base64'
diff --git a/test/openssl/test_pkey_ec.rb b/test/openssl/test_pkey_ec.rb
index 1693ace..fe128fd 100644
--- a/test/openssl/test_pkey_ec.rb
+++ b/test/openssl/test_pkey_ec.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils) && defined?(OpenSSL::PKey::EC)
diff --git a/test/openssl/test_pkey_rsa.rb b/test/openssl/test_pkey_rsa.rb
index ea042c2..165b1ec 100644
--- a/test/openssl/test_pkey_rsa.rb
+++ b/test/openssl/test_pkey_rsa.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
require 'base64'
diff --git a/test/openssl/test_random.rb b/test/openssl/test_random.rb
index e4242ac..8c69d54 100644
--- a/test/openssl/test_random.rb
+++ b/test/openssl/test_random.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "openssl"
rescue LoadError
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb
index 5682bf5..58fcc08 100644
--- a/test/openssl/test_ssl.rb
+++ b/test/openssl/test_ssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_ssl_session.rb b/test/openssl/test_ssl_session.rb
index 28d268e..3294aa7 100644
--- a/test/openssl/test_ssl_session.rb
+++ b/test/openssl/test_ssl_session.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509cert.rb b/test/openssl/test_x509cert.rb
index 783677a..72cb9e6 100644
--- a/test/openssl/test_x509cert.rb
+++ b/test/openssl/test_x509cert.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509crl.rb b/test/openssl/test_x509crl.rb
index 9dc1b1c..7994dde 100644
--- a/test/openssl/test_x509crl.rb
+++ b/test/openssl/test_x509crl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509ext.rb b/test/openssl/test_x509ext.rb
index 29e9f1d..e6d49bb 100644
--- a/test/openssl/test_x509ext.rb
+++ b/test/openssl/test_x509ext.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509name.rb b/test/openssl/test_x509name.rb
index a92af53..56e7987 100644
--- a/test/openssl/test_x509name.rb
+++ b/test/openssl/test_x509name.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require_relative 'utils'
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509req.rb b/test/openssl/test_x509req.rb
index 27040cb..f1bf184 100644
--- a/test/openssl/test_x509req.rb
+++ b/test/openssl/test_x509req.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/test_x509store.rb b/test/openssl/test_x509store.rb
index f3e144f..9964cc8 100644
--- a/test/openssl/test_x509store.rb
+++ b/test/openssl/test_x509store.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "utils"
if defined?(OpenSSL::TestUtils)
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb
index bd936be..0802c1b 100644
--- a/test/openssl/utils.rb
+++ b/test/openssl/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "openssl"
diff --git a/test/optparse/test_acceptable.rb b/test/optparse/test_acceptable.rb
index ee8479c..0c7590b 100644
--- a/test/optparse/test_acceptable.rb
+++ b/test/optparse/test_acceptable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::Acceptable < TestOptionParser
diff --git a/test/optparse/test_autoconf.rb b/test/optparse/test_autoconf.rb
index cb9c938..4b3616f 100644
--- a/test/optparse/test_autoconf.rb
+++ b/test/optparse/test_autoconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse/ac'
diff --git a/test/optparse/test_bash_completion.rb b/test/optparse/test_bash_completion.rb
index baeb6d9..714fd35 100644
--- a/test/optparse/test_bash_completion.rb
+++ b/test/optparse/test_bash_completion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/optparse/test_getopts.rb b/test/optparse/test_getopts.rb
index ae22f68..3711e6f 100644
--- a/test/optparse/test_getopts.rb
+++ b/test/optparse/test_getopts.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/optparse/test_noarg.rb b/test/optparse/test_noarg.rb
index 3e6ed42..8f9be29 100644
--- a/test/optparse/test_noarg.rb
+++ b/test/optparse/test_noarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
module TestOptionParser::NoArg
diff --git a/test/optparse/test_optarg.rb b/test/optparse/test_optarg.rb
index 3114b80..b7436fb 100644
--- a/test/optparse/test_optarg.rb
+++ b/test/optparse/test_optarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::OptArg < TestOptionParser
diff --git a/test/optparse/test_optparse.rb b/test/optparse/test_optparse.rb
index e85a2ef..f17f8ee 100644
--- a/test/optparse/test_optparse.rb
+++ b/test/optparse/test_optparse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/optparse/test_placearg.rb b/test/optparse/test_placearg.rb
index 0bbd1a0..90b2b97 100644
--- a/test/optparse/test_placearg.rb
+++ b/test/optparse/test_placearg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::PlaceArg < TestOptionParser
diff --git a/test/optparse/test_reqarg.rb b/test/optparse/test_reqarg.rb
index 397da4a..1904f46 100644
--- a/test/optparse/test_reqarg.rb
+++ b/test/optparse/test_reqarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
module TestOptionParser::ReqArg
diff --git a/test/optparse/test_summary.rb b/test/optparse/test_summary.rb
index 54fd194..b743aa0 100644
--- a/test/optparse/test_summary.rb
+++ b/test/optparse/test_summary.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::SummaryTest < TestOptionParser
diff --git a/test/optparse/test_zsh_completion.rb b/test/optparse/test_zsh_completion.rb
index 7e5ba71..1bc6c7f 100644
--- a/test/optparse/test_zsh_completion.rb
+++ b/test/optparse/test_zsh_completion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb
index b098992..8c122b9 100644
--- a/test/ostruct/test_ostruct.rb
+++ b/test/ostruct/test_ostruct.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'ostruct'
diff --git a/test/psych/handlers/test_recorder.rb b/test/psych/handlers/test_recorder.rb
index 96b8eac..17c7c6d 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 3bbb459..498cdf8 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 b0c33e6..519c114 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 19cf94b..2f4e1f3 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 9e2c240..ed00960 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 960ffd7..f1e71fb 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 b656f4f..b2803a6 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 c7f964c..4e1fd4a 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 e3213e2..e578d55 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 72150ad..433fbf3 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 fd2d329..a806f6b 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 bd77d60..97de2e1 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 b195019..54b9b35 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 544337d..13ca5db 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 30dfb24..85fa78f 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 e2a3129..b449ce4 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 a23fc1a..8bb850b 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 7df74ee..544947a 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 1620a6a..76245ca 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 3dbf562..3d4fa88 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 1725550..d8ccb70 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 5378b4a..9d8b74f 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 5e3ce82..ed1ccd9 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 273b466..1300bfc 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 36edc26..80791aa 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 0abe0dd..26aba05 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 05a9343..7de9e07 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 dd299c0..b69c54c 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 e6b7697..4353ec3 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 e8e423c..7ad18c5 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 f597b7a..be209ed 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 921fe22..0eb999c 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 7e41178..1b05428 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 a8ae55c..51aef40 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 8c7f251..b7968d3 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 558a672..a98881c 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 37fc5b2..8705833 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 724aab4..8a29b6a 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 7ad3ddd..09f1ee3 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 e628175..f8e9e2f 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 62c88b7..71ee04f 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 94f1330..a9ce652 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 837c8e8..8072c26 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 780c953..9317855 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 19e5365..8878ea2 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 40702bc..b3890bc 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
diff --git a/test/rdoc/test_rdoc_alias.rb b/test/rdoc/test_rdoc_alias.rb
index ff499af..fa0ab0f 100644
--- a/test/rdoc/test_rdoc_alias.rb
+++ b/test/rdoc/test_rdoc_alias.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocAlias < XrefTestCase
diff --git a/test/rdoc/test_rdoc_any_method.rb b/test/rdoc/test_rdoc_any_method.rb
index 9030580..fdbb62e 100644
--- a/test/rdoc/test_rdoc_any_method.rb
+++ b/test/rdoc/test_rdoc_any_method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocAnyMethod < XrefTestCase
diff --git a/test/rdoc/test_rdoc_attr.rb b/test/rdoc/test_rdoc_attr.rb
index a4922df..e4062d1 100644
--- a/test/rdoc/test_rdoc_attr.rb
+++ b/test/rdoc/test_rdoc_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocAttr < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_class_module.rb b/test/rdoc/test_rdoc_class_module.rb
index 0e06587..7cbbcbc 100644
--- a/test/rdoc/test_rdoc_class_module.rb
+++ b/test/rdoc/test_rdoc_class_module.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocClassModule < XrefTestCase
diff --git a/test/rdoc/test_rdoc_code_object.rb b/test/rdoc/test_rdoc_code_object.rb
index 2fb6ac2..74b8855 100644
--- a/test/rdoc/test_rdoc_code_object.rb
+++ b/test/rdoc/test_rdoc_code_object.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
diff --git a/test/rdoc/test_rdoc_comment.rb b/test/rdoc/test_rdoc_comment.rb
index 2a1318b..178c579 100644
--- a/test/rdoc/test_rdoc_comment.rb
+++ b/test/rdoc/test_rdoc_comment.rb
@@ -1,4 +1,5 @@
# coding: us-ascii
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_constant.rb b/test/rdoc/test_rdoc_constant.rb
index 171963d..c43aa7d 100644
--- a/test/rdoc/test_rdoc_constant.rb
+++ b/test/rdoc/test_rdoc_constant.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocConstant < XrefTestCase
diff --git a/test/rdoc/test_rdoc_context.rb b/test/rdoc/test_rdoc_context.rb
index c981cf3..c619c6c 100644
--- a/test/rdoc/test_rdoc_context.rb
+++ b/test/rdoc/test_rdoc_context.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocContext < XrefTestCase
diff --git a/test/rdoc/test_rdoc_context_section.rb b/test/rdoc/test_rdoc_context_section.rb
index b8f8c7f..bd82d19 100644
--- a/test/rdoc/test_rdoc_context_section.rb
+++ b/test/rdoc/test_rdoc_context_section.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocContextSection < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_cross_reference.rb b/test/rdoc/test_rdoc_cross_reference.rb
index 99fc224..c39d6ad 100644
--- a/test/rdoc/test_rdoc_cross_reference.rb
+++ b/test/rdoc/test_rdoc_cross_reference.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocCrossReference < XrefTestCase
diff --git a/test/rdoc/test_rdoc_encoding.rb b/test/rdoc/test_rdoc_encoding.rb
index 7ec39f8..313ede2 100644
--- a/test/rdoc/test_rdoc_encoding.rb
+++ b/test/rdoc/test_rdoc_encoding.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_extend.rb b/test/rdoc/test_rdoc_extend.rb
index 1499315..bc50a65 100644
--- a/test/rdoc/test_rdoc_extend.rb
+++ b/test/rdoc/test_rdoc_extend.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocExtend < XrefTestCase
diff --git a/test/rdoc/test_rdoc_generator_darkfish.rb b/test/rdoc/test_rdoc_generator_darkfish.rb
index fc77e4b..894acbd 100644
--- a/test/rdoc/test_rdoc_generator_darkfish.rb
+++ b/test/rdoc/test_rdoc_generator_darkfish.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocGeneratorDarkfish < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_generator_json_index.rb b/test/rdoc/test_rdoc_generator_json_index.rb
index 9283fd9..13e7850 100644
--- a/test/rdoc/test_rdoc_generator_json_index.rb
+++ b/test/rdoc/test_rdoc_generator_json_index.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_generator_markup.rb b/test/rdoc/test_rdoc_generator_markup.rb
index 5f8a45b..d546c2f 100644
--- a/test/rdoc/test_rdoc_generator_markup.rb
+++ b/test/rdoc/test_rdoc_generator_markup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocGeneratorMarkup < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_generator_pot.rb b/test/rdoc/test_rdoc_generator_pot.rb
index d028ce7..3f1bee7 100644
--- a/test/rdoc/test_rdoc_generator_pot.rb
+++ b/test/rdoc/test_rdoc_generator_pot.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocGeneratorPOT < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_generator_pot_po.rb b/test/rdoc/test_rdoc_generator_pot_po.rb
index fae7f7e..ae60ff0 100644
--- a/test/rdoc/test_rdoc_generator_pot_po.rb
+++ b/test/rdoc/test_rdoc_generator_pot_po.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocGeneratorPOTPO < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_generator_pot_po_entry.rb b/test/rdoc/test_rdoc_generator_pot_po_entry.rb
index 8620d98..36b85df 100644
--- a/test/rdoc/test_rdoc_generator_pot_po_entry.rb
+++ b/test/rdoc/test_rdoc_generator_pot_po_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocGeneratorPOTPOEntry < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_generator_ri.rb b/test/rdoc/test_rdoc_generator_ri.rb
index f8ac973..1e18e13 100644
--- a/test/rdoc/test_rdoc_generator_ri.rb
+++ b/test/rdoc/test_rdoc_generator_ri.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocGeneratorRI < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_i18n_locale.rb b/test/rdoc/test_rdoc_i18n_locale.rb
index 69de88a..e9dce78 100644
--- a/test/rdoc/test_rdoc_i18n_locale.rb
+++ b/test/rdoc/test_rdoc_i18n_locale.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocI18nLocale < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_i18n_text.rb b/test/rdoc/test_rdoc_i18n_text.rb
index c47f03c..61df193 100644
--- a/test/rdoc/test_rdoc_i18n_text.rb
+++ b/test/rdoc/test_rdoc_i18n_text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocI18nText < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_include.rb b/test/rdoc/test_rdoc_include.rb
index 464a698..6a34f5d 100644
--- a/test/rdoc/test_rdoc_include.rb
+++ b/test/rdoc/test_rdoc_include.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocInclude < XrefTestCase
diff --git a/test/rdoc/test_rdoc_markdown.rb b/test/rdoc/test_rdoc_markdown.rb
index ea5dc73..6c7bf4a 100644
--- a/test/rdoc/test_rdoc_markdown.rb
+++ b/test/rdoc/test_rdoc_markdown.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require 'rdoc/test_case'
require 'rdoc/markup/block_quote'
diff --git a/test/rdoc/test_rdoc_markdown_test.rb b/test/rdoc/test_rdoc_markdown_test.rb
index d464cba..0d880e0 100644
--- a/test/rdoc/test_rdoc_markdown_test.rb
+++ b/test/rdoc/test_rdoc_markdown_test.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'minitest/autorun'
require 'pp'
diff --git a/test/rdoc/test_rdoc_markup.rb b/test/rdoc/test_rdoc_markup.rb
index 5c28a2c..ad13211 100644
--- a/test/rdoc/test_rdoc_markup.rb
+++ b/test/rdoc/test_rdoc_markup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkup < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_attribute_manager.rb b/test/rdoc/test_rdoc_markup_attribute_manager.rb
index 6a085fe..c0f7666 100644
--- a/test/rdoc/test_rdoc_markup_attribute_manager.rb
+++ b/test/rdoc/test_rdoc_markup_attribute_manager.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupAttributeManager < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_attributes.rb b/test/rdoc/test_rdoc_markup_attributes.rb
index 636e0cc..077b6a5 100644
--- a/test/rdoc/test_rdoc_markup_attributes.rb
+++ b/test/rdoc/test_rdoc_markup_attributes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupAttributes < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_document.rb b/test/rdoc/test_rdoc_markup_document.rb
index 718ae6d..e5a61da 100644
--- a/test/rdoc/test_rdoc_markup_document.rb
+++ b/test/rdoc/test_rdoc_markup_document.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupDocument < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_formatter.rb b/test/rdoc/test_rdoc_markup_formatter.rb
index d01a42f..02a6844 100644
--- a/test/rdoc/test_rdoc_markup_formatter.rb
+++ b/test/rdoc/test_rdoc_markup_formatter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupFormatter < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_hard_break.rb b/test/rdoc/test_rdoc_markup_hard_break.rb
index b9f7873..5d2d359 100644
--- a/test/rdoc/test_rdoc_markup_hard_break.rb
+++ b/test/rdoc/test_rdoc_markup_hard_break.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupHardBreak < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_heading.rb b/test/rdoc/test_rdoc_markup_heading.rb
index 26d4b5b..463df7e 100644
--- a/test/rdoc/test_rdoc_markup_heading.rb
+++ b/test/rdoc/test_rdoc_markup_heading.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupHeading < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_include.rb b/test/rdoc/test_rdoc_markup_include.rb
index 37a5b32..e72a0ac 100644
--- a/test/rdoc/test_rdoc_markup_include.rb
+++ b/test/rdoc/test_rdoc_markup_include.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupInclude < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_indented_paragraph.rb b/test/rdoc/test_rdoc_markup_indented_paragraph.rb
index d8dd795..efcd840 100644
--- a/test/rdoc/test_rdoc_markup_indented_paragraph.rb
+++ b/test/rdoc/test_rdoc_markup_indented_paragraph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupIndentedParagraph < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_paragraph.rb b/test/rdoc/test_rdoc_markup_paragraph.rb
index 8de1c3c..6da6658 100644
--- a/test/rdoc/test_rdoc_markup_paragraph.rb
+++ b/test/rdoc/test_rdoc_markup_paragraph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupParagraph < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_parser.rb b/test/rdoc/test_rdoc_markup_parser.rb
index d27fb42..e998655 100644
--- a/test/rdoc/test_rdoc_markup_parser.rb
+++ b/test/rdoc/test_rdoc_markup_parser.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_markup_pre_process.rb b/test/rdoc/test_rdoc_markup_pre_process.rb
index 7cbe29c..8bc474a 100644
--- a/test/rdoc/test_rdoc_markup_pre_process.rb
+++ b/test/rdoc/test_rdoc_markup_pre_process.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_markup_raw.rb b/test/rdoc/test_rdoc_markup_raw.rb
index 43bfe0c..1453333 100644
--- a/test/rdoc/test_rdoc_markup_raw.rb
+++ b/test/rdoc/test_rdoc_markup_raw.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupRaw < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_to_ansi.rb b/test/rdoc/test_rdoc_markup_to_ansi.rb
index 5afaf94..8bd4927 100644
--- a/test/rdoc/test_rdoc_markup_to_ansi.rb
+++ b/test/rdoc/test_rdoc_markup_to_ansi.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToAnsi < RDoc::Markup::TextFormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_bs.rb b/test/rdoc/test_rdoc_markup_to_bs.rb
index f2e6352..33d274a 100644
--- a/test/rdoc/test_rdoc_markup_to_bs.rb
+++ b/test/rdoc/test_rdoc_markup_to_bs.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToBs < RDoc::Markup::TextFormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_html.rb b/test/rdoc/test_rdoc_markup_to_html.rb
index dbbd287..1c7c879 100644
--- a/test/rdoc/test_rdoc_markup_to_html.rb
+++ b/test/rdoc/test_rdoc_markup_to_html.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToHtml < RDoc::Markup::FormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_html_crossref.rb b/test/rdoc/test_rdoc_markup_to_html_crossref.rb
index 872daea..39a4827 100644
--- a/test/rdoc/test_rdoc_markup_to_html_crossref.rb
+++ b/test/rdoc/test_rdoc_markup_to_html_crossref.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocMarkupToHtmlCrossref < XrefTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_html_snippet.rb b/test/rdoc/test_rdoc_markup_to_html_snippet.rb
index f861db1..11bcd52 100644
--- a/test/rdoc/test_rdoc_markup_to_html_snippet.rb
+++ b/test/rdoc/test_rdoc_markup_to_html_snippet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToHtmlSnippet < RDoc::Markup::FormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_joined_paragraph.rb b/test/rdoc/test_rdoc_markup_to_joined_paragraph.rb
index 148edb1..414b7d3 100644
--- a/test/rdoc/test_rdoc_markup_to_joined_paragraph.rb
+++ b/test/rdoc/test_rdoc_markup_to_joined_paragraph.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToJoinedParagraph < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_markup_to_label.rb b/test/rdoc/test_rdoc_markup_to_label.rb
index d8cc365..35df69c 100644
--- a/test/rdoc/test_rdoc_markup_to_label.rb
+++ b/test/rdoc/test_rdoc_markup_to_label.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToLabel < RDoc::Markup::FormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_markdown.rb b/test/rdoc/test_rdoc_markup_to_markdown.rb
index 442bb19..a72f30e 100644
--- a/test/rdoc/test_rdoc_markup_to_markdown.rb
+++ b/test/rdoc/test_rdoc_markup_to_markdown.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToMarkdown < RDoc::Markup::TextFormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_rdoc.rb b/test/rdoc/test_rdoc_markup_to_rdoc.rb
index 4b60d01..0dce0a0 100644
--- a/test/rdoc/test_rdoc_markup_to_rdoc.rb
+++ b/test/rdoc/test_rdoc_markup_to_rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToRDoc < RDoc::Markup::TextFormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_table_of_contents.rb b/test/rdoc/test_rdoc_markup_to_table_of_contents.rb
index ba17b84..acfa807 100644
--- a/test/rdoc/test_rdoc_markup_to_table_of_contents.rb
+++ b/test/rdoc/test_rdoc_markup_to_table_of_contents.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToTableOfContents < RDoc::Markup::FormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_to_tt_only.rb b/test/rdoc/test_rdoc_markup_to_tt_only.rb
index 2e950dd..a7918c9 100644
--- a/test/rdoc/test_rdoc_markup_to_tt_only.rb
+++ b/test/rdoc/test_rdoc_markup_to_tt_only.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupToTtOnly < RDoc::Markup::FormatterTestCase
diff --git a/test/rdoc/test_rdoc_markup_verbatim.rb b/test/rdoc/test_rdoc_markup_verbatim.rb
index 781d528..6fdf8fd 100644
--- a/test/rdoc/test_rdoc_markup_verbatim.rb
+++ b/test/rdoc/test_rdoc_markup_verbatim.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocMarkupVerbatim < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_method_attr.rb b/test/rdoc/test_rdoc_method_attr.rb
index e93e81c..70f129e 100644
--- a/test/rdoc/test_rdoc_method_attr.rb
+++ b/test/rdoc/test_rdoc_method_attr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocMethodAttr < XrefTestCase
diff --git a/test/rdoc/test_rdoc_normal_class.rb b/test/rdoc/test_rdoc_normal_class.rb
index ab31a8d..9153bdc 100644
--- a/test/rdoc/test_rdoc_normal_class.rb
+++ b/test/rdoc/test_rdoc_normal_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocNormalClass < XrefTestCase
diff --git a/test/rdoc/test_rdoc_normal_module.rb b/test/rdoc/test_rdoc_normal_module.rb
index 1944564..d92a72e 100644
--- a/test/rdoc/test_rdoc_normal_module.rb
+++ b/test/rdoc/test_rdoc_normal_module.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocNormalModule < XrefTestCase
diff --git a/test/rdoc/test_rdoc_options.rb b/test/rdoc/test_rdoc_options.rb
index 67053e3..5d79432 100644
--- a/test/rdoc/test_rdoc_options.rb
+++ b/test/rdoc/test_rdoc_options.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocOptions < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_parser.rb b/test/rdoc/test_rdoc_parser.rb
index 34d4486..ee2865c 100644
--- a/test/rdoc/test_rdoc_parser.rb
+++ b/test/rdoc/test_rdoc_parser.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_parser_c.rb b/test/rdoc/test_rdoc_parser_c.rb
index 71ffce5..fdc303e 100644
--- a/test/rdoc/test_rdoc_parser_c.rb
+++ b/test/rdoc/test_rdoc_parser_c.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
=begin
diff --git a/test/rdoc/test_rdoc_parser_changelog.rb b/test/rdoc/test_rdoc_parser_changelog.rb
index 4d83983..0135d26 100644
--- a/test/rdoc/test_rdoc_parser_changelog.rb
+++ b/test/rdoc/test_rdoc_parser_changelog.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocParserChangeLog < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_parser_markdown.rb b/test/rdoc/test_rdoc_parser_markdown.rb
index b17e144..a8a8402 100644
--- a/test/rdoc/test_rdoc_parser_markdown.rb
+++ b/test/rdoc/test_rdoc_parser_markdown.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocParserMarkdown < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_parser_rd.rb b/test/rdoc/test_rdoc_parser_rd.rb
index 9be0d7d..481d190 100644
--- a/test/rdoc/test_rdoc_parser_rd.rb
+++ b/test/rdoc/test_rdoc_parser_rd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocParserRd < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb
index 8750433..2befa87 100644
--- a/test/rdoc/test_rdoc_parser_ruby.rb
+++ b/test/rdoc/test_rdoc_parser_ruby.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_parser_simple.rb b/test/rdoc/test_rdoc_parser_simple.rb
index d45a993..0e2cf0d 100644
--- a/test/rdoc/test_rdoc_parser_simple.rb
+++ b/test/rdoc/test_rdoc_parser_simple.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocParserSimple < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_rd.rb b/test/rdoc/test_rdoc_rd.rb
index d917a63..938c556 100644
--- a/test/rdoc/test_rdoc_rd.rb
+++ b/test/rdoc/test_rdoc_rd.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRd < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_rd_block_parser.rb b/test/rdoc/test_rdoc_rd_block_parser.rb
index 956f3d2..7afa9a0 100644
--- a/test/rdoc/test_rdoc_rd_block_parser.rb
+++ b/test/rdoc/test_rdoc_rd_block_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRdBlockParser < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_rd_inline.rb b/test/rdoc/test_rdoc_rd_inline.rb
index d601ecc..d4448e4 100644
--- a/test/rdoc/test_rdoc_rd_inline.rb
+++ b/test/rdoc/test_rdoc_rd_inline.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRdInline < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_rd_inline_parser.rb b/test/rdoc/test_rdoc_rd_inline_parser.rb
index e4a765b..eb022b2 100644
--- a/test/rdoc/test_rdoc_rd_inline_parser.rb
+++ b/test/rdoc/test_rdoc_rd_inline_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRdInlineParser < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index 230c18f..793580d 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRDoc < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_require.rb b/test/rdoc/test_rdoc_require.rb
index b7995af..cbedf5c 100644
--- a/test/rdoc/test_rdoc_require.rb
+++ b/test/rdoc/test_rdoc_require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocRequire < XrefTestCase
diff --git a/test/rdoc/test_rdoc_ri_driver.rb b/test/rdoc/test_rdoc_ri_driver.rb
index d0987a0..cba7bed 100644
--- a/test/rdoc/test_rdoc_ri_driver.rb
+++ b/test/rdoc/test_rdoc_ri_driver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRIDriver < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_ri_paths.rb b/test/rdoc/test_rdoc_ri_paths.rb
index e377b0b..06968b5 100644
--- a/test/rdoc/test_rdoc_ri_paths.rb
+++ b/test/rdoc/test_rdoc_ri_paths.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRIPaths < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_ruby_lex.rb b/test/rdoc/test_rdoc_ruby_lex.rb
index 8871b4f..6356fa2 100644
--- a/test/rdoc/test_rdoc_ruby_lex.rb
+++ b/test/rdoc/test_rdoc_ruby_lex.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_ruby_token.rb b/test/rdoc/test_rdoc_ruby_token.rb
index ed8c827..4638606 100644
--- a/test/rdoc/test_rdoc_ruby_token.rb
+++ b/test/rdoc/test_rdoc_ruby_token.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocRubyToken < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb
index 960afc9..9ab481c 100644
--- a/test/rdoc/test_rdoc_rubygems_hook.rb
+++ b/test/rdoc/test_rdoc_rubygems_hook.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/test_case'
require 'rdoc/rubygems_hook'
diff --git a/test/rdoc/test_rdoc_servlet.rb b/test/rdoc/test_rdoc_servlet.rb
index 9edd176..1ea0de7 100644
--- a/test/rdoc/test_rdoc_servlet.rb
+++ b/test/rdoc/test_rdoc_servlet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocServlet < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_single_class.rb b/test/rdoc/test_rdoc_single_class.rb
index e368b3d..85a99d2 100644
--- a/test/rdoc/test_rdoc_single_class.rb
+++ b/test/rdoc/test_rdoc_single_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocSingleClass < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_stats.rb b/test/rdoc/test_rdoc_stats.rb
index cd37c29..34e1417 100644
--- a/test/rdoc/test_rdoc_stats.rb
+++ b/test/rdoc/test_rdoc_stats.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocStats < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_store.rb b/test/rdoc/test_rdoc_store.rb
index bd565e7..c171754 100644
--- a/test/rdoc/test_rdoc_store.rb
+++ b/test/rdoc/test_rdoc_store.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocStore < XrefTestCase
diff --git a/test/rdoc/test_rdoc_task.rb b/test/rdoc/test_rdoc_task.rb
index 610684e..bb5d2ae 100644
--- a/test/rdoc/test_rdoc_task.rb
+++ b/test/rdoc/test_rdoc_task.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
begin
require 'rake'
diff --git a/test/rdoc/test_rdoc_text.rb b/test/rdoc/test_rdoc_text.rb
index a69989d..3945b6e 100644
--- a/test/rdoc/test_rdoc_text.rb
+++ b/test/rdoc/test_rdoc_text.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
require 'rdoc/test_case'
diff --git a/test/rdoc/test_rdoc_token_stream.rb b/test/rdoc/test_rdoc_token_stream.rb
index 3c1a225..5ed7b1d 100644
--- a/test/rdoc/test_rdoc_token_stream.rb
+++ b/test/rdoc/test_rdoc_token_stream.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocTokenStream < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_tom_doc.rb b/test/rdoc/test_rdoc_tom_doc.rb
index 63d3a5e..7076edf 100644
--- a/test/rdoc/test_rdoc_tom_doc.rb
+++ b/test/rdoc/test_rdoc_tom_doc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rdoc/test_case'
class TestRDocTomDoc < RDoc::TestCase
diff --git a/test/rdoc/test_rdoc_top_level.rb b/test/rdoc/test_rdoc_top_level.rb
index f3ee6a4..b8145e3 100644
--- a/test/rdoc/test_rdoc_top_level.rb
+++ b/test/rdoc/test_rdoc_top_level.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require File.expand_path '../xref_test_case', __FILE__
class TestRDocTopLevel < XrefTestCase
diff --git a/test/rdoc/xref_data.rb b/test/rdoc/xref_data.rb
index 4525a29..5d3f6a9 100644
--- a/test/rdoc/xref_data.rb
+++ b/test/rdoc/xref_data.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
XREF_DATA = <<-XREF_DATA
class C1
diff --git a/test/rdoc/xref_test_case.rb b/test/rdoc/xref_test_case.rb
index a56fa71..c0b3ae5 100644
--- a/test/rdoc/xref_test_case.rb
+++ b/test/rdoc/xref_test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
ENV['RDOC_TEST'] = 'yes'
require 'rdoc'
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 89d72b5..eae9518 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "readline"
rescue LoadError
diff --git a/test/readline/test_readline_history.rb b/test/readline/test_readline_history.rb
index 4bcd7b3..a9a324f 100644
--- a/test/readline/test_readline_history.rb
+++ b/test/readline/test_readline_history.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require "readline"
=begin
diff --git a/test/resolv/test_addr.rb b/test/resolv/test_addr.rb
index e06c3c2..4a2df5b 100644
--- a/test/resolv/test_addr.rb
+++ b/test/resolv/test_addr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'resolv'
require 'socket'
diff --git a/test/resolv/test_dns.rb b/test/resolv/test_dns.rb
index 9f993ba..338130e 100644
--- a/test/resolv/test_dns.rb
+++ b/test/resolv/test_dns.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'resolv'
require 'socket'
diff --git a/test/resolv/test_resource.rb b/test/resolv/test_resource.rb
index 7ec17e3..8045bbc 100644
--- a/test/resolv/test_resource.rb
+++ b/test/resolv/test_resource.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'resolv'
diff --git a/test/rexml/listener.rb b/test/rexml/listener.rb
index 81c9e88..6bede03 100644
--- a/test/rexml/listener.rb
+++ b/test/rexml/listener.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Listener
attr_reader :ts, :te
attr_reader :normalize
diff --git a/test/rexml/parse/test_document_type_declaration.rb b/test/rexml/parse/test_document_type_declaration.rb
index 59fe561..80f7088 100644
--- a/test/rexml/parse/test_document_type_declaration.rb
+++ b/test/rexml/parse/test_document_type_declaration.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "rexml/document"
diff --git a/test/rexml/parse/test_notation_declaration.rb b/test/rexml/parse/test_notation_declaration.rb
index 0a4e737..0d29f0d 100644
--- a/test/rexml/parse/test_notation_declaration.rb
+++ b/test/rexml/parse/test_notation_declaration.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rexml/document'
diff --git a/test/rexml/parser/test_sax2.rb b/test/rexml/parser/test_sax2.rb
index dba5eab..91d135f 100644
--- a/test/rexml/parser/test_sax2.rb
+++ b/test/rexml/parser/test_sax2.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "rexml/parsers/sax2parser"
require "rexml/sax2listener"
diff --git a/test/rexml/parser/test_tree.rb b/test/rexml/parser/test_tree.rb
index fa010f6..7ab0add 100644
--- a/test/rexml/parser/test_tree.rb
+++ b/test/rexml/parser/test_tree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "rexml/document"
require "rexml/parsers/treeparser"
diff --git a/test/rexml/parser/test_ultra_light.rb b/test/rexml/parser/test_ultra_light.rb
index 4960fc1..c48a13d 100644
--- a/test/rexml/parser/test_ultra_light.rb
+++ b/test/rexml/parser/test_ultra_light.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "rexml/parsers/ultralightparser"
diff --git a/test/rexml/rexml_test_utils.rb b/test/rexml/rexml_test_utils.rb
index 57fe65c..7c59629 100644
--- a/test/rexml/rexml_test_utils.rb
+++ b/test/rexml/rexml_test_utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module REXMLTestUtils
def fixture_path(*components)
diff --git a/test/rexml/test_attributes.rb b/test/rexml/test_attributes.rb
index aea1d88..d6f566b 100644
--- a/test/rexml/test_attributes.rb
+++ b/test/rexml/test_attributes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit/testcase'
require 'rexml/document'
diff --git a/test/rexml/test_attributes_mixin.rb b/test/rexml/test_attributes_mixin.rb
index 17cca4e..3a9f54e 100644
--- a/test/rexml/test_attributes_mixin.rb
+++ b/test/rexml/test_attributes_mixin.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rexml/document'
diff --git a/test/rexml/test_changing_encoding.rb b/test/rexml/test_changing_encoding.rb
index 9471ad1..a2dc072 100644
--- a/test/rexml/test_changing_encoding.rb
+++ b/test/rexml/test_changing_encoding.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require 'rexml/encoding'
diff --git a/test/rexml/test_comment.rb b/test/rexml/test_comment.rb
index d5e78a5..0af2f5c 100644
--- a/test/rexml/test_comment.rb
+++ b/test/rexml/test_comment.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require 'rexml/document'
diff --git a/test/rexml/test_contrib.rb b/test/rexml/test_contrib.rb
index fa84ebe..8462b3c 100644
--- a/test/rexml/test_contrib.rb
+++ b/test/rexml/test_contrib.rb
@@ -1,4 +1,5 @@
# coding: binary
+# frozen_string_literal: false
require_relative "rexml_test_utils"
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index 97aada9..f4eba0b 100644
--- a/test/rexml/test_core.rb
+++ b/test/rexml/test_core.rb
@@ -1,4 +1,5 @@
# coding: binary
+# frozen_string_literal: false
require_relative "rexml_test_utils"
diff --git a/test/rexml/test_doctype.rb b/test/rexml/test_doctype.rb
index 0b3ea11..91de05b 100644
--- a/test/rexml/test_doctype.rb
+++ b/test/rexml/test_doctype.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rexml/document'
diff --git a/test/rexml/test_document.rb b/test/rexml/test_document.rb
index 46cd6f7..c0faae4 100644
--- a/test/rexml/test_document.rb
+++ b/test/rexml/test_document.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require "rexml/document"
require "test/unit"
diff --git a/test/rexml/test_elements.rb b/test/rexml/test_elements.rb
index f253a75..a850e62 100644
--- a/test/rexml/test_elements.rb
+++ b/test/rexml/test_elements.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit/testcase'
require 'rexml/document'
diff --git a/test/rexml/test_encoding.rb b/test/rexml/test_encoding.rb
index 058fb97..919db13 100644
--- a/test/rexml/test_encoding.rb
+++ b/test/rexml/test_encoding.rb
@@ -1,4 +1,5 @@
# coding: binary
+# frozen_string_literal: false
require_relative "rexml_test_utils"
diff --git a/test/rexml/test_entity.rb b/test/rexml/test_entity.rb
index bef1bd6..6dc6637 100644
--- a/test/rexml/test_entity.rb
+++ b/test/rexml/test_entity.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require 'rexml/document'
diff --git a/test/rexml/test_functions.rb b/test/rexml/test_functions.rb
index bf501ff..5ac823d 100644
--- a/test/rexml/test_functions.rb
+++ b/test/rexml/test_functions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require "rexml/document"
diff --git a/test/rexml/test_functions_number.rb b/test/rexml/test_functions_number.rb
index 0b5ec92..84ec5c7 100644
--- a/test/rexml/test_functions_number.rb
+++ b/test/rexml/test_functions_number.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rexml/document'
require 'test/unit'
require 'rexml/functions'
diff --git a/test/rexml/test_jaxen.rb b/test/rexml/test_jaxen.rb
index 1eec73f..aa9e299 100644
--- a/test/rexml/test_jaxen.rb
+++ b/test/rexml/test_jaxen.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'rexml_test_utils'
require "rexml/document"
diff --git a/test/rexml/test_light.rb b/test/rexml/test_light.rb
index b775eb7..99bd9ca 100644
--- a/test/rexml/test_light.rb
+++ b/test/rexml/test_light.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rexml_test_utils"
require "rexml/light/node"
require "rexml/parsers/lightparser"
diff --git a/test/rexml/test_lightparser.rb b/test/rexml/test_lightparser.rb
index f8212dc..1aeac07 100644
--- a/test/rexml/test_lightparser.rb
+++ b/test/rexml/test_lightparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'rexml_test_utils'
require 'rexml/parsers/lightparser'
diff --git a/test/rexml/test_listener.rb b/test/rexml/test_listener.rb
index 309e827..322d368 100644
--- a/test/rexml/test_listener.rb
+++ b/test/rexml/test_listener.rb
@@ -1,4 +1,5 @@
# coding: binary
+# frozen_string_literal: false
require_relative 'rexml_test_utils'
diff --git a/test/rexml/test_martin_fowler.rb b/test/rexml/test_martin_fowler.rb
index 26db110..da685a8 100644
--- a/test/rexml/test_martin_fowler.rb
+++ b/test/rexml/test_martin_fowler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rexml/document'
diff --git a/test/rexml/test_namespace.rb b/test/rexml/test_namespace.rb
index f5cd294..90e1d36 100644
--- a/test/rexml/test_namespace.rb
+++ b/test/rexml/test_namespace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rexml_test_utils"
require "rexml/document"
diff --git a/test/rexml/test_order.rb b/test/rexml/test_order.rb
index 0e84961..807d9fa 100644
--- a/test/rexml/test_order.rb
+++ b/test/rexml/test_order.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'rexml_test_utils'
require 'rexml/document'
begin
diff --git a/test/rexml/test_preceding_sibling.rb b/test/rexml/test_preceding_sibling.rb
index 54fdd5b..d89a1e1 100644
--- a/test/rexml/test_preceding_sibling.rb
+++ b/test/rexml/test_preceding_sibling.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# ISSUE 32
require 'test/unit'
require 'rexml/document'
diff --git a/test/rexml/test_pullparser.rb b/test/rexml/test_pullparser.rb
index db336a1..31b5b74 100644
--- a/test/rexml/test_pullparser.rb
+++ b/test/rexml/test_pullparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require 'rexml/parsers/pullparser'
diff --git a/test/rexml/test_rexml_issuezilla.rb b/test/rexml/test_rexml_issuezilla.rb
index bb63466..1c54c9d 100644
--- a/test/rexml/test_rexml_issuezilla.rb
+++ b/test/rexml/test_rexml_issuezilla.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'rexml_test_utils'
require 'rexml/document'
diff --git a/test/rexml/test_sax.rb b/test/rexml/test_sax.rb
index 2d37ec9..00539f0 100644
--- a/test/rexml/test_sax.rb
+++ b/test/rexml/test_sax.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rexml_test_utils"
require 'rexml/sax2listener'
require 'rexml/parsers/sax2parser'
diff --git a/test/rexml/test_stream.rb b/test/rexml/test_stream.rb
index 3164d91..d7ceedc 100644
--- a/test/rexml/test_stream.rb
+++ b/test/rexml/test_stream.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require "rexml/document"
require 'rexml/streamlistener'
diff --git a/test/rexml/test_text.rb b/test/rexml/test_text.rb
index 52ee11e..3f8036e 100644
--- a/test/rexml/test_text.rb
+++ b/test/rexml/test_text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/text"
module REXMLTests
diff --git a/test/rexml/test_ticket_80.rb b/test/rexml/test_ticket_80.rb
index ffeece5..ab6a57e 100644
--- a/test/rexml/test_ticket_80.rb
+++ b/test/rexml/test_ticket_80.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#------------------------------------------------------------------------------
# file: rexml_test.rb
# desc: test's REXML's XML/XPath implementation
diff --git a/test/rexml/test_validation_rng.rb b/test/rexml/test_validation_rng.rb
index 8989fe2..b5b5045 100644
--- a/test/rexml/test_validation_rng.rb
+++ b/test/rexml/test_validation_rng.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require "rexml/document"
diff --git a/test/rexml/test_xml_declaration.rb b/test/rexml/test_xml_declaration.rb
index a96d40c..a4d97c4 100644
--- a/test/rexml/test_xml_declaration.rb
+++ b/test/rexml/test_xml_declaration.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#
# Created by Henrik Mårtensson on 2007-02-18.
# Copyright (c) 2007. All rights reserved.
diff --git a/test/rexml/xpath/test_attribute.rb b/test/rexml/xpath/test_attribute.rb
index 95af4de..9304db4 100644
--- a/test/rexml/xpath/test_attribute.rb
+++ b/test/rexml/xpath/test_attribute.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rexml/document'
diff --git a/test/rexml/xpath/test_axis_preceding_sibling.rb b/test/rexml/xpath/test_axis_preceding_sibling.rb
index 2731807..5842c6b 100644
--- a/test/rexml/xpath/test_axis_preceding_sibling.rb
+++ b/test/rexml/xpath/test_axis_preceding_sibling.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require "rexml/document"
diff --git a/test/rexml/xpath/test_base.rb b/test/rexml/xpath/test_base.rb
index a57ba63..5079fdd 100644
--- a/test/rexml/xpath/test_base.rb
+++ b/test/rexml/xpath/test_base.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "../rexml_test_utils"
require "rexml/document"
diff --git a/test/rexml/xpath/test_node.rb b/test/rexml/xpath/test_node.rb
index aec2de1..e0e958e 100644
--- a/test/rexml/xpath/test_node.rb
+++ b/test/rexml/xpath/test_node.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require_relative "../rexml_test_utils"
diff --git a/test/rexml/xpath/test_predicate.rb b/test/rexml/xpath/test_predicate.rb
index 287e131..ce1aaa3 100644
--- a/test/rexml/xpath/test_predicate.rb
+++ b/test/rexml/xpath/test_predicate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit/testcase"
require "rexml/document"
require "rexml/xpath"
diff --git a/test/rexml/xpath/test_text.rb b/test/rexml/xpath/test_text.rb
index 46aba3c..03afe96 100644
--- a/test/rexml/xpath/test_text.rb
+++ b/test/rexml/xpath/test_text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rexml/document'
require 'rexml/element'
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index e0b92e6..07de614 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'drb/drb'
diff --git a/test/rinda/test_tuplebag.rb b/test/rinda/test_tuplebag.rb
index 3e30127..ab17ca0 100644
--- a/test/rinda/test_tuplebag.rb
+++ b/test/rinda/test_tuplebag.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rinda/tuplespace'
diff --git a/test/ripper/dummyparser.rb b/test/ripper/dummyparser.rb
index 35c08b5..3c196d9 100644
--- a/test/ripper/dummyparser.rb
+++ b/test/ripper/dummyparser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# dummyparser.rb
#
diff --git a/test/ripper/test_files.rb b/test/ripper/test_files.rb
index 5541a09..7b5fa1d 100644
--- a/test/ripper/test_files.rb
+++ b/test/ripper/test_files.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module TestRipper; end
diff --git a/test/ripper/test_filter.rb b/test/ripper/test_filter.rb
index 005a5d8..0f9d38f 100644
--- a/test/ripper/test_filter.rb
+++ b/test/ripper/test_filter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'ripper'
require 'test/unit'
@@ -76,7 +77,7 @@ class TestRipper::Filter < Test::Unit::TestCase
def test_filter_token
data = {}
- filter = Filter.new(File.read(filename))
+ filter = Filter.new("begin; puts 1; end")
filter.parse(data)
assert_equal("begin", data[:token])
end
diff --git a/test/ripper/test_ripper.rb b/test/ripper/test_ripper.rb
index 1544e56..e0b65a0 100644
--- a/test/ripper/test_ripper.rb
+++ b/test/ripper/test_ripper.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'ripper'
require 'test/unit'
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb
index 45c1673..ab52392 100644
--- a/test/ripper/test_scanner_events.rb
+++ b/test/ripper/test_scanner_events.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# test_scanner_events.rb
#
diff --git a/test/ripper/test_sexp.rb b/test/ripper/test_sexp.rb
index 557ae9b..46fb7f2 100644
--- a/test/ripper/test_sexp.rb
+++ b/test/ripper/test_sexp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'ripper'
require 'test/unit'
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb
index f2e9dc0..1bafb02 100644
--- a/test/rss/rss-assertions.rb
+++ b/test/rss/rss-assertions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'erb'
module RSS
diff --git a/test/rss/rss-testcase.rb b/test/rss/rss-testcase.rb
index 2e39433..30067d4 100644
--- a/test/rss/rss-testcase.rb
+++ b/test/rss/rss-testcase.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "erb"
require "test/unit"
diff --git a/test/rss/test_1.0.rb b/test/rss/test_1.0.rb
index 758eecf..33ae291 100644
--- a/test/rss/test_1.0.rb
+++ b/test/rss/test_1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/document"
require_relative "rss-testcase"
diff --git a/test/rss/test_2.0.rb b/test/rss/test_2.0.rb
index 37285ce..650f835 100644
--- a/test/rss/test_2.0.rb
+++ b/test/rss/test_2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/document"
require_relative "rss-testcase"
diff --git a/test/rss/test_accessor.rb b/test/rss/test_accessor.rb
index ea15316..7d4424d 100644
--- a/test/rss/test_accessor.rb
+++ b/test/rss/test_accessor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_atom.rb b/test/rss/test_atom.rb
index 557cb80..774064e 100644
--- a/test/rss/test_atom.rb
+++ b/test/rss/test_atom.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/document"
require_relative "rss-testcase"
diff --git a/test/rss/test_content.rb b/test/rss/test_content.rb
index 13f22a2..fc8269d 100644
--- a/test/rss/test_content.rb
+++ b/test/rss/test_content.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_dublincore.rb b/test/rss/test_dublincore.rb
index eb03d84..37ef177 100644
--- a/test/rss/test_dublincore.rb
+++ b/test/rss/test_dublincore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_image.rb b/test/rss/test_image.rb
index d8f0b26..0f1cd8c 100644
--- a/test/rss/test_image.rb
+++ b/test/rss/test_image.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_inherit.rb b/test/rss/test_inherit.rb
index 8b640dc..020f066 100644
--- a/test/rss/test_inherit.rb
+++ b/test/rss/test_inherit.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_itunes.rb b/test/rss/test_itunes.rb
index ec06337..7be0010 100644
--- a/test/rss/test_itunes.rb
+++ b/test/rss/test_itunes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_maker_0.9.rb b/test/rss/test_maker_0.9.rb
index f6e39c6..64d04bc 100644
--- a/test/rss/test_maker_0.9.rb
+++ b/test/rss/test_maker_0.9.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_1.0.rb b/test/rss/test_maker_1.0.rb
index b31abb9..c8f9977 100644
--- a/test/rss/test_maker_1.0.rb
+++ b/test/rss/test_maker_1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb
index 48c0f91..8528611 100644
--- a/test/rss/test_maker_2.0.rb
+++ b/test/rss/test_maker_2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_atom_entry.rb b/test/rss/test_maker_atom_entry.rb
index 9618723..8e41c7c 100644
--- a/test/rss/test_maker_atom_entry.rb
+++ b/test/rss/test_maker_atom_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_atom_feed.rb b/test/rss/test_maker_atom_feed.rb
index d866001..d4eacd3 100644
--- a/test/rss/test_maker_atom_feed.rb
+++ b/test/rss/test_maker_atom_feed.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_content.rb b/test/rss/test_maker_content.rb
index ba884f1..e3b84c5 100644
--- a/test/rss/test_maker_content.rb
+++ b/test/rss/test_maker_content.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_dc.rb b/test/rss/test_maker_dc.rb
index 977350c..f5c8bad 100644
--- a/test/rss/test_maker_dc.rb
+++ b/test/rss/test_maker_dc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_image.rb b/test/rss/test_maker_image.rb
index d01654c..cc663c6 100644
--- a/test/rss/test_maker_image.rb
+++ b/test/rss/test_maker_image.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_itunes.rb b/test/rss/test_maker_itunes.rb
index 0d47171..03092b1 100644
--- a/test/rss/test_maker_itunes.rb
+++ b/test/rss/test_maker_itunes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_slash.rb b/test/rss/test_maker_slash.rb
index ea95a99..5e5761a 100644
--- a/test/rss/test_maker_slash.rb
+++ b/test/rss/test_maker_slash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_sy.rb b/test/rss/test_maker_sy.rb
index 7117e3a..6f4d6f8 100644
--- a/test/rss/test_maker_sy.rb
+++ b/test/rss/test_maker_sy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_taxo.rb b/test/rss/test_maker_taxo.rb
index 4c4c2e3..9a19a52 100644
--- a/test/rss/test_maker_taxo.rb
+++ b/test/rss/test_maker_taxo.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_trackback.rb b/test/rss/test_maker_trackback.rb
index 411bf31..b49e5c3 100644
--- a/test/rss/test_maker_trackback.rb
+++ b/test/rss/test_maker_trackback.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_xml-stylesheet.rb b/test/rss/test_maker_xml-stylesheet.rb
index 4f7c62a..4563de9 100644
--- a/test/rss/test_maker_xml-stylesheet.rb
+++ b/test/rss/test_maker_xml-stylesheet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb
index 8d8d1e1..7d64657 100644
--- a/test/rss/test_parser.rb
+++ b/test/rss/test_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "tempfile"
require_relative "rss-testcase"
diff --git a/test/rss/test_parser_1.0.rb b/test/rss/test_parser_1.0.rb
index 2efecda..f7be515 100644
--- a/test/rss/test_parser_1.0.rb
+++ b/test/rss/test_parser_1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_parser_2.0.rb b/test/rss/test_parser_2.0.rb
index 68c7d1c..ac7a67b 100644
--- a/test/rss/test_parser_2.0.rb
+++ b/test/rss/test_parser_2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/2.0"
diff --git a/test/rss/test_parser_atom_entry.rb b/test/rss/test_parser_atom_entry.rb
index 352fbbe..4f54ba3 100644
--- a/test/rss/test_parser_atom_entry.rb
+++ b/test/rss/test_parser_atom_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_parser_atom_feed.rb b/test/rss/test_parser_atom_feed.rb
index a5731b2..626062d 100644
--- a/test/rss/test_parser_atom_feed.rb
+++ b/test/rss/test_parser_atom_feed.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_setup_maker_0.9.rb b/test/rss/test_setup_maker_0.9.rb
index 2714b9c..4eae624 100644
--- a/test/rss/test_setup_maker_0.9.rb
+++ b/test/rss/test_setup_maker_0.9.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_1.0.rb b/test/rss/test_setup_maker_1.0.rb
index 0408ca9..a9d60dd 100644
--- a/test/rss/test_setup_maker_1.0.rb
+++ b/test/rss/test_setup_maker_1.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_2.0.rb b/test/rss/test_setup_maker_2.0.rb
index fcf1f57..dffffe6 100644
--- a/test/rss/test_setup_maker_2.0.rb
+++ b/test/rss/test_setup_maker_2.0.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_atom_entry.rb b/test/rss/test_setup_maker_atom_entry.rb
index ec9df5e..f8649ea 100644
--- a/test/rss/test_setup_maker_atom_entry.rb
+++ b/test/rss/test_setup_maker_atom_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_atom_feed.rb b/test/rss/test_setup_maker_atom_feed.rb
index ad2c693..2196f1a 100644
--- a/test/rss/test_setup_maker_atom_feed.rb
+++ b/test/rss/test_setup_maker_atom_feed.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_itunes.rb b/test/rss/test_setup_maker_itunes.rb
index 246fecf..35ecfb4 100644
--- a/test/rss/test_setup_maker_itunes.rb
+++ b/test/rss/test_setup_maker_itunes.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_slash.rb b/test/rss/test_setup_maker_slash.rb
index cd12db9..d6973be 100644
--- a/test/rss/test_setup_maker_slash.rb
+++ b/test/rss/test_setup_maker_slash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_slash.rb b/test/rss/test_slash.rb
index 757e787..6746e44 100644
--- a/test/rss/test_slash.rb
+++ b/test/rss/test_slash.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_syndication.rb b/test/rss/test_syndication.rb
index 17875f1..ec3895e 100644
--- a/test/rss/test_syndication.rb
+++ b/test/rss/test_syndication.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_taxonomy.rb b/test/rss/test_taxonomy.rb
index 34937e4..89f49a9 100644
--- a/test/rss/test_taxonomy.rb
+++ b/test/rss/test_taxonomy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require_relative "rss-testcase"
diff --git a/test/rss/test_to_s.rb b/test/rss/test_to_s.rb
index d97cf9d..b8ef0d8 100644
--- a/test/rss/test_to_s.rb
+++ b/test/rss/test_to_s.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/document"
require_relative "rss-testcase"
diff --git a/test/rss/test_trackback.rb b/test/rss/test_trackback.rb
index 8560c25..2910b4b 100644
--- a/test/rss/test_trackback.rb
+++ b/test/rss/test_trackback.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "cgi"
require "rexml/document"
diff --git a/test/rss/test_version.rb b/test/rss/test_version.rb
index d2175ab..731e7e5 100644
--- a/test/rss/test_version.rb
+++ b/test/rss/test_version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative "rss-testcase"
module RSS
diff --git a/test/rss/test_xml-stylesheet.rb b/test/rss/test_xml-stylesheet.rb
index c67922f..71be1d8 100644
--- a/test/rss/test_xml-stylesheet.rb
+++ b/test/rss/test_xml-stylesheet.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rexml/document"
require_relative "rss-testcase"
diff --git a/test/ruby/allpairs.rb b/test/ruby/allpairs.rb
index 27b6f59..e5893e2 100644
--- a/test/ruby/allpairs.rb
+++ b/test/ruby/allpairs.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
module AllPairs
module_function
diff --git a/test/ruby/beginmainend.rb b/test/ruby/beginmainend.rb
index ddd4d25..b6de5d6 100644
--- a/test/ruby/beginmainend.rb
+++ b/test/ruby/beginmainend.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
BEGIN {
puts "b1"
# local_begin1 = "local_begin1"
diff --git a/test/ruby/enc/test_big5.rb b/test/ruby/enc/test_big5.rb
index e8fe027..5dcf93e 100644
--- a/test/ruby/enc/test_big5.rb
+++ b/test/ruby/enc/test_big5.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestBig5 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_cp949.rb b/test/ruby/enc/test_cp949.rb
index e675c7b..0684162 100644
--- a/test/ruby/enc/test_cp949.rb
+++ b/test/ruby/enc/test_cp949.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestCP949 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_emoji.rb b/test/ruby/enc/test_emoji.rb
index 1f80c5a..330ff70 100644
--- a/test/ruby/enc/test_emoji.rb
+++ b/test/ruby/enc/test_emoji.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module Emoji
diff --git a/test/ruby/enc/test_euc_jp.rb b/test/ruby/enc/test_euc_jp.rb
index 510ee46..4aec69e 100644
--- a/test/ruby/enc/test_euc_jp.rb
+++ b/test/ruby/enc/test_euc_jp.rb
@@ -1,4 +1,5 @@
# vim: set fileencoding=euc-jp
+# frozen_string_literal: false
require "test/unit"
diff --git a/test/ruby/enc/test_euc_kr.rb b/test/ruby/enc/test_euc_kr.rb
index 5413fa6..c9de2cc 100644
--- a/test/ruby/enc/test_euc_kr.rb
+++ b/test/ruby/enc/test_euc_kr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestEucKr < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_euc_tw.rb b/test/ruby/enc/test_euc_tw.rb
index f36d86b..649b1b8 100644
--- a/test/ruby/enc/test_euc_tw.rb
+++ b/test/ruby/enc/test_euc_tw.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestEucTw < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_gb18030.rb b/test/ruby/enc/test_gb18030.rb
index f379504..76ac785 100644
--- a/test/ruby/enc/test_gb18030.rb
+++ b/test/ruby/enc/test_gb18030.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestGB18030 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_gbk.rb b/test/ruby/enc/test_gbk.rb
index d6dc5d6..2e541b5 100644
--- a/test/ruby/enc/test_gbk.rb
+++ b/test/ruby/enc/test_gbk.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestGBK < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_iso_8859.rb b/test/ruby/enc/test_iso_8859.rb
index 64cc7cd..f6b3b3f 100644
--- a/test/ruby/enc/test_iso_8859.rb
+++ b/test/ruby/enc/test_iso_8859.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestISO8859 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_koi8.rb b/test/ruby/enc/test_koi8.rb
index ce2d892..4a4d233 100644
--- a/test/ruby/enc/test_koi8.rb
+++ b/test/ruby/enc/test_koi8.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
class TestKOI8 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_shift_jis.rb b/test/ruby/enc/test_shift_jis.rb
index 1bd47fa..059992d 100644
--- a/test/ruby/enc/test_shift_jis.rb
+++ b/test/ruby/enc/test_shift_jis.rb
@@ -1,4 +1,5 @@
# vim: set fileencoding=shift_jis
+# frozen_string_literal: false
require "test/unit"
diff --git a/test/ruby/enc/test_utf16.rb b/test/ruby/enc/test_utf16.rb
index 63929c6..99b48c2 100644
--- a/test/ruby/enc/test_utf16.rb
+++ b/test/ruby/enc/test_utf16.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestUTF16 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_utf32.rb b/test/ruby/enc/test_utf32.rb
index 29a2240..23e8aeb 100644
--- a/test/ruby/enc/test_utf32.rb
+++ b/test/ruby/enc/test_utf32.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestUTF32 < Test::Unit::TestCase
diff --git a/test/ruby/enc/test_windows_1251.rb b/test/ruby/enc/test_windows_1251.rb
index 6fbf315..002dbaa 100644
--- a/test/ruby/enc/test_windows_1251.rb
+++ b/test/ruby/enc/test_windows_1251.rb
@@ -1,4 +1,5 @@
# encoding:windows-1251
+# frozen_string_literal: false
require "test/unit"
diff --git a/test/ruby/enc/test_windows_1252.rb b/test/ruby/enc/test_windows_1252.rb
index 72ee3d2..f264cba 100644
--- a/test/ruby/enc/test_windows_1252.rb
+++ b/test/ruby/enc/test_windows_1252.rb
@@ -1,4 +1,5 @@
# encoding:windows-1252
+# frozen_string_literal: false
require "test/unit"
diff --git a/test/ruby/lbtest.rb b/test/ruby/lbtest.rb
index ae047fb..591656a 100644
--- a/test/ruby/lbtest.rb
+++ b/test/ruby/lbtest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'thread'
class LocalBarrier
diff --git a/test/ruby/marshaltestlib.rb b/test/ruby/marshaltestlib.rb
index 665d365..358d3c5 100644
--- a/test/ruby/marshaltestlib.rb
+++ b/test/ruby/marshaltestlib.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
module MarshalTestLib
# include this module to a Test::Unit::TestCase and define encode(o) and
# decode(s) methods. e.g.
diff --git a/test/ruby/sentence.rb b/test/ruby/sentence.rb
index 50f42d6..28fb5d1 100644
--- a/test/ruby/sentence.rb
+++ b/test/ruby/sentence.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# == sentence library
#
# = Features
diff --git a/test/ruby/test_alias.rb b/test/ruby/test_alias.rb
index 802c196..d5bbce3 100644
--- a/test/ruby/test_alias.rb
+++ b/test/ruby/test_alias.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestAlias < Test::Unit::TestCase
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index e40b038..d4be87e 100644
--- a/test/ruby/test_argf.rb
+++ b/test/ruby/test_argf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
require 'tmpdir'
diff --git a/test/ruby/test_arity.rb b/test/ruby/test_arity.rb
index 4a24bdc..b98248f 100644
--- a/test/ruby/test_arity.rb
+++ b/test/ruby/test_arity.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestArity < Test::Unit::TestCase
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index d2af339..b1fc473 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
class TestArray < Test::Unit::TestCase
diff --git a/test/ruby/test_assignment.rb b/test/ruby/test_assignment.rb
index 315f7ba..d0f2fad 100644
--- a/test/ruby/test_assignment.rb
+++ b/test/ruby/test_assignment.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestAssignment < Test::Unit::TestCase
diff --git a/test/ruby/test_autoload.rb b/test/ruby/test_autoload.rb
index a672e0b..b793fd2 100644
--- a/test/ruby/test_autoload.rb
+++ b/test/ruby/test_autoload.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
require 'thread'
diff --git a/test/ruby/test_backtrace.rb b/test/ruby/test_backtrace.rb
index 3076f37..ff95a89 100644
--- a/test/ruby/test_backtrace.rb
+++ b/test/ruby/test_backtrace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
require 'tempfile'
diff --git a/test/ruby/test_basicinstructions.rb b/test/ruby/test_basicinstructions.rb
index 4a1dc9c..b56b6d1 100644
--- a/test/ruby/test_basicinstructions.rb
+++ b/test/ruby/test_basicinstructions.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
ConstTest = 3
diff --git a/test/ruby/test_beginendblock.rb b/test/ruby/test_beginendblock.rb
index 9445fa6..0c88e9e 100644
--- a/test/ruby/test_beginendblock.rb
+++ b/test/ruby/test_beginendblock.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestBeginEndBlock < Test::Unit::TestCase
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb
index d057e39..93afbe4 100644
--- a/test/ruby/test_bignum.rb
+++ b/test/ruby/test_bignum.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestBignum < Test::Unit::TestCase
diff --git a/test/ruby/test_call.rb b/test/ruby/test_call.rb
index 04966f4..7ef8d06 100644
--- a/test/ruby/test_call.rb
+++ b/test/ruby/test_call.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestCall < Test::Unit::TestCase
diff --git a/test/ruby/test_case.rb b/test/ruby/test_case.rb
index b9f8ab2..861fd8e 100644
--- a/test/ruby/test_case.rb
+++ b/test/ruby/test_case.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestCase < Test::Unit::TestCase
diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb
index 1d9ee55..e60db37 100644
--- a/test/ruby/test_class.rb
+++ b/test/ruby/test_class.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestClass < Test::Unit::TestCase
diff --git a/test/ruby/test_clone.rb b/test/ruby/test_clone.rb
index c5e2469..93ef438 100644
--- a/test/ruby/test_clone.rb
+++ b/test/ruby/test_clone.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestClone < Test::Unit::TestCase
diff --git a/test/ruby/test_comparable.rb b/test/ruby/test_comparable.rb
index dab6be5..7624ef2 100644
--- a/test/ruby/test_comparable.rb
+++ b/test/ruby/test_comparable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestComparable < Test::Unit::TestCase
diff --git a/test/ruby/test_complex.rb b/test/ruby/test_complex.rb
index de3bb05..e51dec0 100644
--- a/test/ruby/test_complex.rb
+++ b/test/ruby/test_complex.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class ComplexSub < Complex; end
diff --git a/test/ruby/test_complex2.rb b/test/ruby/test_complex2.rb
index 3ee7810..594fc3f 100644
--- a/test/ruby/test_complex2.rb
+++ b/test/ruby/test_complex2.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Complex_Test2 < Test::Unit::TestCase
diff --git a/test/ruby/test_complexrational.rb b/test/ruby/test_complexrational.rb
index cef4074..7c80e1a 100644
--- a/test/ruby/test_complexrational.rb
+++ b/test/ruby/test_complexrational.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class ComplexRational_Test < Test::Unit::TestCase
diff --git a/test/ruby/test_condition.rb b/test/ruby/test_condition.rb
index ba2e068..ab0ffc4 100644
--- a/test/ruby/test_condition.rb
+++ b/test/ruby/test_condition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestCondition < Test::Unit::TestCase
diff --git a/test/ruby/test_const.rb b/test/ruby/test_const.rb
index 8d50464..0b2c449 100644
--- a/test/ruby/test_const.rb
+++ b/test/ruby/test_const.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestConst < Test::Unit::TestCase
diff --git a/test/ruby/test_continuation.rb b/test/ruby/test_continuation.rb
index 8d57b8b..efc549b 100644
--- a/test/ruby/test_continuation.rb
+++ b/test/ruby/test_continuation.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
EnvUtil.suppress_warning {require 'continuation'}
require 'fiber'
diff --git a/test/ruby/test_defined.rb b/test/ruby/test_defined.rb
index 95a46ed..de7ba9c 100644
--- a/test/ruby/test_defined.rb
+++ b/test/ruby/test_defined.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestDefined < Test::Unit::TestCase
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb
index 510cbf3..0cc5a6a 100644
--- a/test/ruby/test_dir.rb
+++ b/test/ruby/test_dir.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/ruby/test_dir_m17n.rb b/test/ruby/test_dir_m17n.rb
index bb60b0a..febfbc0 100644
--- a/test/ruby/test_dir_m17n.rb
+++ b/test/ruby/test_dir_m17n.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/ruby/test_econv.rb b/test/ruby/test_econv.rb
index 5690ec7..8172bf9 100644
--- a/test/ruby/test_econv.rb
+++ b/test/ruby/test_econv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestEncodingConverter < Test::Unit::TestCase
diff --git a/test/ruby/test_encoding.rb b/test/ruby/test_encoding.rb
index abe4317..0655965 100644
--- a/test/ruby/test_encoding.rb
+++ b/test/ruby/test_encoding.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestEncoding < Test::Unit::TestCase
diff --git a/test/ruby/test_enum.rb b/test/ruby/test_enum.rb
index 4a6aa5e..ab35644 100644
--- a/test/ruby/test_enum.rb
+++ b/test/ruby/test_enum.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
EnvUtil.suppress_warning {require 'continuation'}
require 'stringio'
diff --git a/test/ruby/test_enumerator.rb b/test/ruby/test_enumerator.rb
index e81d2e4..aa36187 100644
--- a/test/ruby/test_enumerator.rb
+++ b/test/ruby/test_enumerator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestEnumerator < Test::Unit::TestCase
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb
index f7c6e61..c1617cc 100644
--- a/test/ruby/test_env.rb
+++ b/test/ruby/test_env.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestEnv < Test::Unit::TestCase
diff --git a/test/ruby/test_eval.rb b/test/ruby/test_eval.rb
index 02dbb9b..6982429 100644
--- a/test/ruby/test_eval.rb
+++ b/test/ruby/test_eval.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestEval < Test::Unit::TestCase
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 707a99f..1148277 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
diff --git a/test/ruby/test_extlibs.rb b/test/ruby/test_extlibs.rb
index 995baa0..4d14ed4 100644
--- a/test/ruby/test_extlibs.rb
+++ b/test/ruby/test_extlibs.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "envutil"
require "shellwords"
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index 4684a65..fed5d3d 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'fiber'
EnvUtil.suppress_warning {require 'continuation'}
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index 3599d16..88b934d 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
require "thread"
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index e4b9215..8070d57 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "fileutils"
require "tmpdir"
diff --git a/test/ruby/test_fixnum.rb b/test/ruby/test_fixnum.rb
index e10371d..b5b6425 100644
--- a/test/ruby/test_fixnum.rb
+++ b/test/ruby/test_fixnum.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestFixnum < Test::Unit::TestCase
diff --git a/test/ruby/test_flip.rb b/test/ruby/test_flip.rb
index 84f7bf0..594c810 100644
--- a/test/ruby/test_flip.rb
+++ b/test/ruby/test_flip.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestFlip < Test::Unit::TestCase
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb
index f1e01fc..3afd26d 100644
--- a/test/ruby/test_float.rb
+++ b/test/ruby/test_float.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestFloat < Test::Unit::TestCase
diff --git a/test/ruby/test_fnmatch.rb b/test/ruby/test_fnmatch.rb
index a0eab54..ca01a28 100644
--- a/test/ruby/test_fnmatch.rb
+++ b/test/ruby/test_fnmatch.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestFnmatch < Test::Unit::TestCase
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index f7ee182..0e3ae4b 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestGc < Test::Unit::TestCase
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 0199061..6ee0297 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
EnvUtil.suppress_warning {require 'continuation'}
diff --git a/test/ruby/test_ifunless.rb b/test/ruby/test_ifunless.rb
index e144ff8..d533e15 100644
--- a/test/ruby/test_ifunless.rb
+++ b/test/ruby/test_ifunless.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestIfunless < Test::Unit::TestCase
diff --git a/test/ruby/test_integer.rb b/test/ruby/test_integer.rb
index 3dbf365..64b8e1e 100644
--- a/test/ruby/test_integer.rb
+++ b/test/ruby/test_integer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestInteger < Test::Unit::TestCase
diff --git a/test/ruby/test_integer_comb.rb b/test/ruby/test_integer_comb.rb
index 9018518..c96b34a 100644
--- a/test/ruby/test_integer_comb.rb
+++ b/test/ruby/test_integer_comb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestIntegerComb < Test::Unit::TestCase
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index bd92634..bb6503a 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
require "fcntl"
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index ed8ac99..233b93d 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
require 'tempfile'
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb
index 34652db..fb81820 100644
--- a/test/ruby/test_iterator.rb
+++ b/test/ruby/test_iterator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Array
diff --git a/test/ruby/test_keyword.rb b/test/ruby/test_keyword.rb
index 9c76e15..f692324 100644
--- a/test/ruby/test_keyword.rb
+++ b/test/ruby/test_keyword.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestKeywordArguments < Test::Unit::TestCase
diff --git a/test/ruby/test_lambda.rb b/test/ruby/test_lambda.rb
index b2b4c9c..f61e8a9 100644
--- a/test/ruby/test_lambda.rb
+++ b/test/ruby/test_lambda.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestLambdaParameters < Test::Unit::TestCase
diff --git a/test/ruby/test_lazy_enumerator.rb b/test/ruby/test_lazy_enumerator.rb
index a0c5068..29c6b3e 100644
--- a/test/ruby/test_lazy_enumerator.rb
+++ b/test/ruby/test_lazy_enumerator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestLazyEnumerator < Test::Unit::TestCase
diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb
index e523f11..522ca53 100644
--- a/test/ruby/test_literal.rb
+++ b/test/ruby/test_literal.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestRubyLiteral < Test::Unit::TestCase
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb
index a9cb86a..74b847a 100644
--- a/test/ruby/test_m17n.rb
+++ b/test/ruby/test_m17n.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
class TestM17N < Test::Unit::TestCase
diff --git a/test/ruby/test_m17n_comb.rb b/test/ruby/test_m17n_comb.rb
index cf00e52..054287e 100644
--- a/test/ruby/test_m17n_comb.rb
+++ b/test/ruby/test_m17n_comb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'etc'
require_relative 'allpairs'
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 145244e..482637f 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
require_relative 'marshaltestlib'
diff --git a/test/ruby/test_math.rb b/test/ruby/test_math.rb
index 674bb54..f2805a2 100644
--- a/test/ruby/test_math.rb
+++ b/test/ruby/test_math.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestMath < Test::Unit::TestCase
diff --git a/test/ruby/test_metaclass.rb b/test/ruby/test_metaclass.rb
index 6386a02..8c1990a 100644
--- a/test/ruby/test_metaclass.rb
+++ b/test/ruby/test_metaclass.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestMetaclass < Test::Unit::TestCase
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index 48178c4..cc2c987 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestMethod < Test::Unit::TestCase
diff --git a/test/ruby/test_mixed_unicode_escapes.rb b/test/ruby/test_mixed_unicode_escapes.rb
index ac712db..09240d8 100644
--- a/test/ruby/test_mixed_unicode_escapes.rb
+++ b/test/ruby/test_mixed_unicode_escapes.rb
@@ -1,4 +1,5 @@
# -*- coding: cp932 -*-
+# frozen_string_literal: false
# This test is in a different file than TestUnicodeEscapes
# So that we can have a different coding comment above
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index b86efd7..5356983 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'pp'
diff --git a/test/ruby/test_not.rb b/test/ruby/test_not.rb
index 486075b..721f868 100644
--- a/test/ruby/test_not.rb
+++ b/test/ruby/test_not.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestIfunless < Test::Unit::TestCase
diff --git a/test/ruby/test_notimp.rb b/test/ruby/test_notimp.rb
index 9721723..a9ab8f3 100644
--- a/test/ruby/test_notimp.rb
+++ b/test/ruby/test_notimp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
require 'tmpdir'
diff --git a/test/ruby/test_numeric.rb b/test/ruby/test_numeric.rb
index f539ccf..ad5e283 100644
--- a/test/ruby/test_numeric.rb
+++ b/test/ruby/test_numeric.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestNumeric < Test::Unit::TestCase
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 29ce7ac..0ab1341 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
class TestObject < Test::Unit::TestCase
diff --git a/test/ruby/test_objectspace.rb b/test/ruby/test_objectspace.rb
index cb17d03..b701e0f 100644
--- a/test/ruby/test_objectspace.rb
+++ b/test/ruby/test_objectspace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestObjectSpace < Test::Unit::TestCase
diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb
index 3573d12..2115fc8 100644
--- a/test/ruby/test_optimization.rb
+++ b/test/ruby/test_optimization.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'objspace'
diff --git a/test/ruby/test_pack.rb b/test/ruby/test_pack.rb
index d696dd7..2d7c0ae 100644
--- a/test/ruby/test_pack.rb
+++ b/test/ruby/test_pack.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
class TestPack < Test::Unit::TestCase
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb
index 673b0e7..6560618 100644
--- a/test/ruby/test_parse.rb
+++ b/test/ruby/test_parse.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'stringio'
diff --git a/test/ruby/test_path.rb b/test/ruby/test_path.rb
index b604a76..6af4fb6 100644
--- a/test/ruby/test_path.rb
+++ b/test/ruby/test_path.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestPath < Test::Unit::TestCase
diff --git a/test/ruby/test_pipe.rb b/test/ruby/test_pipe.rb
index bcea91b..efca8f2 100644
--- a/test/ruby/test_pipe.rb
+++ b/test/ruby/test_pipe.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require_relative 'ut_eof'
diff --git a/test/ruby/test_primitive.rb b/test/ruby/test_primitive.rb
index 9d451e2..d1503a5 100644
--- a/test/ruby/test_primitive.rb
+++ b/test/ruby/test_primitive.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestRubyPrimitive < Test::Unit::TestCase
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb
index e13bf59..fa247f2 100644
--- a/test/ruby/test_proc.rb
+++ b/test/ruby/test_proc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestProc < Test::Unit::TestCase
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 2e120ef..ca35d15 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
require 'timeout'
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb
index 4da1559..d4258a7 100644
--- a/test/ruby/test_rand.rb
+++ b/test/ruby/test_rand.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestRand < Test::Unit::TestCase
diff --git a/test/ruby/test_range.rb b/test/ruby/test_range.rb
index a91f80b..046f69e 100644
--- a/test/ruby/test_range.rb
+++ b/test/ruby/test_range.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'delegate'
require 'timeout'
diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb
index f922d89..ea51ca2 100644
--- a/test/ruby/test_rational.rb
+++ b/test/ruby/test_rational.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class RationalSub < Rational; end
diff --git a/test/ruby/test_rational2.rb b/test/ruby/test_rational2.rb
index 3b6a985..4e96bf6 100644
--- a/test/ruby/test_rational2.rb
+++ b/test/ruby/test_rational2.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Rational_Test2 < Test::Unit::TestCase
diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb
index bc84da7..bc22556 100644
--- a/test/ruby/test_readpartial.rb
+++ b/test/ruby/test_readpartial.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
require 'fcntl'
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb
index 52b7ac7..99987da 100644
--- a/test/ruby/test_refinement.rb
+++ b/test/ruby/test_refinement.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestRefinement < Test::Unit::TestCase
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
index 8e01c05..ef75d4d 100644
--- a/test/ruby/test_regexp.rb
+++ b/test/ruby/test_regexp.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
class TestRegexp < Test::Unit::TestCase
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb
index 9123d5b..a7db8b9 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
diff --git a/test/ruby/test_rubyvm.rb b/test/ruby/test_rubyvm.rb
index 580f3be..c2d334d 100644
--- a/test/ruby/test_rubyvm.rb
+++ b/test/ruby/test_rubyvm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestRubyVM < Test::Unit::TestCase
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index e5048ad..fc1391e 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestSetTraceFunc < Test::Unit::TestCase
diff --git a/test/ruby/test_signal.rb b/test/ruby/test_signal.rb
index 781045d..13d5201 100644
--- a/test/ruby/test_signal.rb
+++ b/test/ruby/test_signal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
require 'tempfile'
diff --git a/test/ruby/test_sleep.rb b/test/ruby/test_sleep.rb
index 29490a7..61002b8 100644
--- a/test/ruby/test_sleep.rb
+++ b/test/ruby/test_sleep.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'etc'
diff --git a/test/ruby/test_sprintf.rb b/test/ruby/test_sprintf.rb
index f400e2b..1d3badd 100644
--- a/test/ruby/test_sprintf.rb
+++ b/test/ruby/test_sprintf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestSprintf < Test::Unit::TestCase
diff --git a/test/ruby/test_sprintf_comb.rb b/test/ruby/test_sprintf_comb.rb
index c58ddf4..4113113 100644
--- a/test/ruby/test_sprintf_comb.rb
+++ b/test/ruby/test_sprintf_comb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require_relative 'allpairs'
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index eed7c69..47bd0d5 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestString < Test::Unit::TestCase
diff --git a/test/ruby/test_stringchar.rb b/test/ruby/test_stringchar.rb
index 7f7342c..e13beef 100644
--- a/test/ruby/test_stringchar.rb
+++ b/test/ruby/test_stringchar.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestStringchar < Test::Unit::TestCase
diff --git a/test/ruby/test_struct.rb b/test/ruby/test_struct.rb
index 19a66fb..38632a1 100644
--- a/test/ruby/test_struct.rb
+++ b/test/ruby/test_struct.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb
index 4f439a6..06e3e6e 100644
--- a/test/ruby/test_super.rb
+++ b/test/ruby/test_super.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestSuper < Test::Unit::TestCase
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index a7ffe7b..0e8417c 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestSymbol < Test::Unit::TestCase
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index dfe5859..77cb3ea 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestSyntax < Test::Unit::TestCase
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb
index b328cbc..60037ab 100644
--- a/test/ruby/test_system.rb
+++ b/test/ruby/test_system.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index e0c61c6..dc929ce 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -1,4 +1,5 @@
# -*- coding: us-ascii -*-
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
diff --git a/test/ruby/test_threadgroup.rb b/test/ruby/test_threadgroup.rb
index e158f5a..80b0c15 100644
--- a/test/ruby/test_threadgroup.rb
+++ b/test/ruby/test_threadgroup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index 97c6288..232d347 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'delegate'
require 'timeout'
diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb
index a73bd86..f5d4690 100644
--- a/test/ruby/test_time_tz.rb
+++ b/test/ruby/test_time_tz.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestTimeTZ < Test::Unit::TestCase
diff --git a/test/ruby/test_trace.rb b/test/ruby/test_trace.rb
index 775c458..77be94e 100644
--- a/test/ruby/test_trace.rb
+++ b/test/ruby/test_trace.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestTrace < Test::Unit::TestCase
diff --git a/test/ruby/test_transcode.rb b/test/ruby/test_transcode.rb
index fc74bd0..33e7467 100644
--- a/test/ruby/test_transcode.rb
+++ b/test/ruby/test_transcode.rb
@@ -1,4 +1,5 @@
# encoding: ASCII-8BIT # make sure this runs in binary mode
+# frozen_string_literal: false
# some of the comments are in UTF-8
require 'test/unit'
diff --git a/test/ruby/test_undef.rb b/test/ruby/test_undef.rb
index e1c9807..6d513a2 100644
--- a/test/ruby/test_undef.rb
+++ b/test/ruby/test_undef.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestUndef < Test::Unit::TestCase
diff --git a/test/ruby/test_unicode_escape.rb b/test/ruby/test_unicode_escape.rb
index 9d0d787..e0ca430 100644
--- a/test/ruby/test_unicode_escape.rb
+++ b/test/ruby/test_unicode_escape.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require 'test/unit'
diff --git a/test/ruby/test_variable.rb b/test/ruby/test_variable.rb
index 06a8e2f..667f9ee 100644
--- a/test/ruby/test_variable.rb
+++ b/test/ruby/test_variable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestVariable < Test::Unit::TestCase
diff --git a/test/ruby/test_weakmap.rb b/test/ruby/test_weakmap.rb
index 1279944..15463bb 100644
--- a/test/ruby/test_weakmap.rb
+++ b/test/ruby/test_weakmap.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestWeakMap < Test::Unit::TestCase
diff --git a/test/ruby/test_whileuntil.rb b/test/ruby/test_whileuntil.rb
index 3d8dbee..394383a 100644
--- a/test/ruby/test_whileuntil.rb
+++ b/test/ruby/test_whileuntil.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/ruby/test_yield.rb b/test/ruby/test_yield.rb
index 5c98bb8..0690d3c 100644
--- a/test/ruby/test_yield.rb
+++ b/test/ruby/test_yield.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'stringio'
diff --git a/test/ruby/ut_eof.rb b/test/ruby/ut_eof.rb
index 83325f2..fcd7a63 100644
--- a/test/ruby/ut_eof.rb
+++ b/test/ruby/ut_eof.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
module TestEOF
diff --git a/test/rubygems/bad_rake.rb b/test/rubygems/bad_rake.rb
index 379a4c9..dc603fd 100644
--- a/test/rubygems/bad_rake.rb
+++ b/test/rubygems/bad_rake.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
exit 1
diff --git a/test/rubygems/bogussources.rb b/test/rubygems/bogussources.rb
index 008e3a1..f51ff60 100644
--- a/test/rubygems/bogussources.rb
+++ b/test/rubygems/bogussources.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/test/rubygems/fake_certlib/openssl.rb b/test/rubygems/fake_certlib/openssl.rb
index 9de90c0..2b026df 100644
--- a/test/rubygems/fake_certlib/openssl.rb
+++ b/test/rubygems/fake_certlib/openssl.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
diff --git a/test/rubygems/fix_openssl_warnings.rb b/test/rubygems/fix_openssl_warnings.rb
index 66d6cdf..e34551c 100644
--- a/test/rubygems/fix_openssl_warnings.rb
+++ b/test/rubygems/fix_openssl_warnings.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
##
# HACK: this drives me BONKERS
diff --git a/test/rubygems/foo/discover.rb b/test/rubygems/foo/discover.rb
index e69de29..1effd1c 100644
--- a/test/rubygems/foo/discover.rb
+++ b/test/rubygems/foo/discover.rb
@@ -0,0 +1 @@
+# frozen_string_literal: false
diff --git a/test/rubygems/good_rake.rb b/test/rubygems/good_rake.rb
index ca916d0..2d5c76c 100644
--- a/test/rubygems/good_rake.rb
+++ b/test/rubygems/good_rake.rb
@@ -1 +1,2 @@
+# frozen_string_literal: false
exit 0
diff --git a/test/rubygems/plugin/exception/rubygems_plugin.rb b/test/rubygems/plugin/exception/rubygems_plugin.rb
index 16c417e..1ab8c55 100644
--- a/test/rubygems/plugin/exception/rubygems_plugin.rb
+++ b/test/rubygems/plugin/exception/rubygems_plugin.rb
@@ -1,2 +1,3 @@
+# frozen_string_literal: false
TestGem::TEST_PLUGIN_EXCEPTION = :loaded
raise Exception.new('boom')
diff --git a/test/rubygems/plugin/load/rubygems_plugin.rb b/test/rubygems/plugin/load/rubygems_plugin.rb
index c7c7277..7336fd2 100644
--- a/test/rubygems/plugin/load/rubygems_plugin.rb
+++ b/test/rubygems/plugin/load/rubygems_plugin.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class TestGem
TEST_PLUGIN_LOAD = :loaded
end
diff --git a/test/rubygems/plugin/standarderror/rubygems_plugin.rb b/test/rubygems/plugin/standarderror/rubygems_plugin.rb
index 4b577a6..a0850bf 100644
--- a/test/rubygems/plugin/standarderror/rubygems_plugin.rb
+++ b/test/rubygems/plugin/standarderror/rubygems_plugin.rb
@@ -1,2 +1,3 @@
+# frozen_string_literal: false
TestGem::TEST_PLUGIN_STANDARDERROR = :loaded
raise StandardError.new('boom')
diff --git a/test/rubygems/rubygems/commands/crash_command.rb b/test/rubygems/rubygems/commands/crash_command.rb
index 624be9f..07692b4 100644
--- a/test/rubygems/rubygems/commands/crash_command.rb
+++ b/test/rubygems/rubygems/commands/crash_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
class Gem::Commands::CrashCommand < Gem::Command
raise "crash"
diff --git a/test/rubygems/rubygems_plugin.rb b/test/rubygems/rubygems_plugin.rb
index 6c08f97..80f7844 100644
--- a/test/rubygems/rubygems_plugin.rb
+++ b/test/rubygems/rubygems_plugin.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/command_manager'
##
diff --git a/test/rubygems/sff/discover.rb b/test/rubygems/sff/discover.rb
index e69de29..1effd1c 100644
--- a/test/rubygems/sff/discover.rb
+++ b/test/rubygems/sff/discover.rb
@@ -0,0 +1 @@
+# frozen_string_literal: false
diff --git a/test/rubygems/simple_gem.rb b/test/rubygems/simple_gem.rb
index c40002e..a6af71e 100644
--- a/test/rubygems/simple_gem.rb
+++ b/test/rubygems/simple_gem.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
SIMPLE_GEM = <<-GEMDATA
MD5SUM = "989bf34a1cbecd52e0ea66b662b3a405"
if $0 == __FILE__
diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb
index 9b2b978..0f8b6bd 100644
--- a/test/rubygems/test_bundled_ca.rb
+++ b/test/rubygems/test_bundled_ca.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'net/https'
require 'rubygems/request'
diff --git a/test/rubygems/test_config.rb b/test/rubygems/test_config.rb
index fb6d05c..207085b 100644
--- a/test/rubygems/test_config.rb
+++ b/test/rubygems/test_config.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems'
diff --git a/test/rubygems/test_deprecate.rb b/test/rubygems/test_deprecate.rb
index ed4e9aa..a29b565 100644
--- a/test/rubygems/test_deprecate.rb
+++ b/test/rubygems/test_deprecate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
# require 'rubygems/builder'
# require 'rubygems/package'
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb
index 1bcff8c..75ec9df 100644
--- a/test/rubygems/test_gem.rb
+++ b/test/rubygems/test_gem.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems'
require 'rubygems/command'
diff --git a/test/rubygems/test_gem_available_set.rb b/test/rubygems/test_gem_available_set.rb
index 8b01112..85551f0 100644
--- a/test/rubygems/test_gem_available_set.rb
+++ b/test/rubygems/test_gem_available_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/available_set'
require 'rubygems/security'
diff --git a/test/rubygems/test_gem_command.rb b/test/rubygems/test_gem_command.rb
index 48cbc98..5c1c071 100644
--- a/test/rubygems/test_gem_command.rb
+++ b/test/rubygems/test_gem_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/command'
diff --git a/test/rubygems/test_gem_command_manager.rb b/test/rubygems/test_gem_command_manager.rb
index f6433c5..fd25750 100644
--- a/test/rubygems/test_gem_command_manager.rb
+++ b/test/rubygems/test_gem_command_manager.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/command_manager'
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb
index 5f870c0..1fb80e1 100644
--- a/test/rubygems/test_gem_commands_build_command.rb
+++ b/test/rubygems/test_gem_commands_build_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/build_command'
require 'rubygems/package'
diff --git a/test/rubygems/test_gem_commands_cert_command.rb b/test/rubygems/test_gem_commands_cert_command.rb
index 4c1dcc2..5179327 100644
--- a/test/rubygems/test_gem_commands_cert_command.rb
+++ b/test/rubygems/test_gem_commands_cert_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/cert_command'
require 'rubygems/fix_openssl_warnings' if RUBY_VERSION < "1.9"
diff --git a/test/rubygems/test_gem_commands_check_command.rb b/test/rubygems/test_gem_commands_check_command.rb
index 67db6a3..6b76349 100644
--- a/test/rubygems/test_gem_commands_check_command.rb
+++ b/test/rubygems/test_gem_commands_check_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/check_command'
diff --git a/test/rubygems/test_gem_commands_cleanup_command.rb b/test/rubygems/test_gem_commands_cleanup_command.rb
index e8ad35f..4a6dae8 100644
--- a/test/rubygems/test_gem_commands_cleanup_command.rb
+++ b/test/rubygems/test_gem_commands_cleanup_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/cleanup_command'
require 'rubygems/installer'
diff --git a/test/rubygems/test_gem_commands_contents_command.rb b/test/rubygems/test_gem_commands_contents_command.rb
index ae8e49f..ae02503 100644
--- a/test/rubygems/test_gem_commands_contents_command.rb
+++ b/test/rubygems/test_gem_commands_contents_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/contents_command'
diff --git a/test/rubygems/test_gem_commands_dependency_command.rb b/test/rubygems/test_gem_commands_dependency_command.rb
index 1409162..058b9a8 100644
--- a/test/rubygems/test_gem_commands_dependency_command.rb
+++ b/test/rubygems/test_gem_commands_dependency_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/dependency_command'
diff --git a/test/rubygems/test_gem_commands_environment_command.rb b/test/rubygems/test_gem_commands_environment_command.rb
index 81ff55d..2def417 100644
--- a/test/rubygems/test_gem_commands_environment_command.rb
+++ b/test/rubygems/test_gem_commands_environment_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/environment_command'
diff --git a/test/rubygems/test_gem_commands_fetch_command.rb b/test/rubygems/test_gem_commands_fetch_command.rb
index c452e79..4a57b93 100644
--- a/test/rubygems/test_gem_commands_fetch_command.rb
+++ b/test/rubygems/test_gem_commands_fetch_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/package'
require 'rubygems/security'
diff --git a/test/rubygems/test_gem_commands_generate_index_command.rb b/test/rubygems/test_gem_commands_generate_index_command.rb
index 2e478d9..1c72139 100644
--- a/test/rubygems/test_gem_commands_generate_index_command.rb
+++ b/test/rubygems/test_gem_commands_generate_index_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/indexer'
require 'rubygems/commands/generate_index_command'
diff --git a/test/rubygems/test_gem_commands_help_command.rb b/test/rubygems/test_gem_commands_help_command.rb
index bed6095..36512cb 100644
--- a/test/rubygems/test_gem_commands_help_command.rb
+++ b/test/rubygems/test_gem_commands_help_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rubygems"
require "rubygems/test_case"
require "rubygems/commands/help_command"
diff --git a/test/rubygems/test_gem_commands_install_command.rb b/test/rubygems/test_gem_commands_install_command.rb
index c12b17e..b8ddc97 100644
--- a/test/rubygems/test_gem_commands_install_command.rb
+++ b/test/rubygems/test_gem_commands_install_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/install_command'
require 'rubygems/request_set'
diff --git a/test/rubygems/test_gem_commands_list_command.rb b/test/rubygems/test_gem_commands_list_command.rb
index b03f166..67e5980 100644
--- a/test/rubygems/test_gem_commands_list_command.rb
+++ b/test/rubygems/test_gem_commands_list_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/list_command'
diff --git a/test/rubygems/test_gem_commands_lock_command.rb b/test/rubygems/test_gem_commands_lock_command.rb
index 8f30b7f..ae85c46 100644
--- a/test/rubygems/test_gem_commands_lock_command.rb
+++ b/test/rubygems/test_gem_commands_lock_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/lock_command'
diff --git a/test/rubygems/test_gem_commands_mirror.rb b/test/rubygems/test_gem_commands_mirror.rb
index 3b01ab3..c20ed3b 100644
--- a/test/rubygems/test_gem_commands_mirror.rb
+++ b/test/rubygems/test_gem_commands_mirror.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/mirror_command'
diff --git a/test/rubygems/test_gem_commands_open_command.rb b/test/rubygems/test_gem_commands_open_command.rb
index c1c76f9..e342c2c 100644
--- a/test/rubygems/test_gem_commands_open_command.rb
+++ b/test/rubygems/test_gem_commands_open_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/open_command'
diff --git a/test/rubygems/test_gem_commands_outdated_command.rb b/test/rubygems/test_gem_commands_outdated_command.rb
index 1bc5acc..ee48d07 100644
--- a/test/rubygems/test_gem_commands_outdated_command.rb
+++ b/test/rubygems/test_gem_commands_outdated_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/outdated_command'
diff --git a/test/rubygems/test_gem_commands_owner_command.rb b/test/rubygems/test_gem_commands_owner_command.rb
index 5d7b661..6d82752 100644
--- a/test/rubygems/test_gem_commands_owner_command.rb
+++ b/test/rubygems/test_gem_commands_owner_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/owner_command'
diff --git a/test/rubygems/test_gem_commands_pristine_command.rb b/test/rubygems/test_gem_commands_pristine_command.rb
index b12fba5..1160c37 100644
--- a/test/rubygems/test_gem_commands_pristine_command.rb
+++ b/test/rubygems/test_gem_commands_pristine_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/pristine_command'
diff --git a/test/rubygems/test_gem_commands_push_command.rb b/test/rubygems/test_gem_commands_push_command.rb
index 7d3d2ef..06967e0 100644
--- a/test/rubygems/test_gem_commands_push_command.rb
+++ b/test/rubygems/test_gem_commands_push_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/push_command'
diff --git a/test/rubygems/test_gem_commands_query_command.rb b/test/rubygems/test_gem_commands_query_command.rb
index 50cedbb..da77731 100644
--- a/test/rubygems/test_gem_commands_query_command.rb
+++ b/test/rubygems/test_gem_commands_query_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/query_command'
diff --git a/test/rubygems/test_gem_commands_search_command.rb b/test/rubygems/test_gem_commands_search_command.rb
index fb8debc..1bb3eb9 100644
--- a/test/rubygems/test_gem_commands_search_command.rb
+++ b/test/rubygems/test_gem_commands_search_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/search_command'
diff --git a/test/rubygems/test_gem_commands_server_command.rb b/test/rubygems/test_gem_commands_server_command.rb
index d0782f9..4186667 100644
--- a/test/rubygems/test_gem_commands_server_command.rb
+++ b/test/rubygems/test_gem_commands_server_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/server_command'
diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb
index 974c157..9748db7 100644
--- a/test/rubygems/test_gem_commands_setup_command.rb
+++ b/test/rubygems/test_gem_commands_setup_command.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/setup_command'
diff --git a/test/rubygems/test_gem_commands_sources_command.rb b/test/rubygems/test_gem_commands_sources_command.rb
index 8ee0fd3..f7af9d5 100644
--- a/test/rubygems/test_gem_commands_sources_command.rb
+++ b/test/rubygems/test_gem_commands_sources_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/sources_command'
diff --git a/test/rubygems/test_gem_commands_specification_command.rb b/test/rubygems/test_gem_commands_specification_command.rb
index ccc2dbb..4759ba4 100644
--- a/test/rubygems/test_gem_commands_specification_command.rb
+++ b/test/rubygems/test_gem_commands_specification_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/specification_command'
diff --git a/test/rubygems/test_gem_commands_stale_command.rb b/test/rubygems/test_gem_commands_stale_command.rb
index 69b1e29..c7b2357 100644
--- a/test/rubygems/test_gem_commands_stale_command.rb
+++ b/test/rubygems/test_gem_commands_stale_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/stale_command'
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index 8e90325..b001b7f 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/installer_test_case'
require 'rubygems/commands/uninstall_command'
diff --git a/test/rubygems/test_gem_commands_unpack_command.rb b/test/rubygems/test_gem_commands_unpack_command.rb
index 05002f8..1420c8f 100644
--- a/test/rubygems/test_gem_commands_unpack_command.rb
+++ b/test/rubygems/test_gem_commands_unpack_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/unpack_command'
diff --git a/test/rubygems/test_gem_commands_update_command.rb b/test/rubygems/test_gem_commands_update_command.rb
index 03894d7..a49cc3a 100644
--- a/test/rubygems/test_gem_commands_update_command.rb
+++ b/test/rubygems/test_gem_commands_update_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/update_command'
diff --git a/test/rubygems/test_gem_commands_which_command.rb b/test/rubygems/test_gem_commands_which_command.rb
index 5c6afe9..2549579 100644
--- a/test/rubygems/test_gem_commands_which_command.rb
+++ b/test/rubygems/test_gem_commands_which_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/which_command'
diff --git a/test/rubygems/test_gem_commands_yank_command.rb b/test/rubygems/test_gem_commands_yank_command.rb
index 469fd15..49e8eda 100644
--- a/test/rubygems/test_gem_commands_yank_command.rb
+++ b/test/rubygems/test_gem_commands_yank_command.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/commands/yank_command'
diff --git a/test/rubygems/test_gem_config_file.rb b/test/rubygems/test_gem_config_file.rb
index 3ababfb..6ed240f 100644
--- a/test/rubygems/test_gem_config_file.rb
+++ b/test/rubygems/test_gem_config_file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/config_file'
diff --git a/test/rubygems/test_gem_dependency.rb b/test/rubygems/test_gem_dependency.rb
index 4c27ce7..dcb7226 100644
--- a/test/rubygems/test_gem_dependency.rb
+++ b/test/rubygems/test_gem_dependency.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/dependency'
diff --git a/test/rubygems/test_gem_dependency_installer.rb b/test/rubygems/test_gem_dependency_installer.rb
index 03bcd04..dfa9494 100644
--- a/test/rubygems/test_gem_dependency_installer.rb
+++ b/test/rubygems/test_gem_dependency_installer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/dependency_installer'
require 'rubygems/security'
diff --git a/test/rubygems/test_gem_dependency_list.rb b/test/rubygems/test_gem_dependency_list.rb
index d25359e..8c63206 100644
--- a/test/rubygems/test_gem_dependency_list.rb
+++ b/test/rubygems/test_gem_dependency_list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/dependency_list'
diff --git a/test/rubygems/test_gem_dependency_resolution_error.rb b/test/rubygems/test_gem_dependency_resolution_error.rb
index 0442082..bae561c 100644
--- a/test/rubygems/test_gem_dependency_resolution_error.rb
+++ b/test/rubygems/test_gem_dependency_resolution_error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemDependencyResolutionError < Gem::TestCase
diff --git a/test/rubygems/test_gem_doctor.rb b/test/rubygems/test_gem_doctor.rb
index 1097528..5eb1903 100644
--- a/test/rubygems/test_gem_doctor.rb
+++ b/test/rubygems/test_gem_doctor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/doctor'
diff --git a/test/rubygems/test_gem_ext_builder.rb b/test/rubygems/test_gem_ext_builder.rb
index 02c7593..e8cc5aa 100644
--- a/test/rubygems/test_gem_ext_builder.rb
+++ b/test/rubygems/test_gem_ext_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/ext'
require 'rubygems/installer'
diff --git a/test/rubygems/test_gem_ext_cmake_builder.rb b/test/rubygems/test_gem_ext_cmake_builder.rb
index a36be47..7a296cc 100644
--- a/test/rubygems/test_gem_ext_cmake_builder.rb
+++ b/test/rubygems/test_gem_ext_cmake_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/ext'
diff --git a/test/rubygems/test_gem_ext_configure_builder.rb b/test/rubygems/test_gem_ext_configure_builder.rb
index 610d60a..6cbe8ba 100644
--- a/test/rubygems/test_gem_ext_configure_builder.rb
+++ b/test/rubygems/test_gem_ext_configure_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/ext'
diff --git a/test/rubygems/test_gem_ext_ext_conf_builder.rb b/test/rubygems/test_gem_ext_ext_conf_builder.rb
index 689734a..d71529b 100644
--- a/test/rubygems/test_gem_ext_ext_conf_builder.rb
+++ b/test/rubygems/test_gem_ext_ext_conf_builder.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/ext'
diff --git a/test/rubygems/test_gem_ext_rake_builder.rb b/test/rubygems/test_gem_ext_rake_builder.rb
index 0f4789a..8eaa3f4 100644
--- a/test/rubygems/test_gem_ext_rake_builder.rb
+++ b/test/rubygems/test_gem_ext_rake_builder.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/ext'
diff --git a/test/rubygems/test_gem_gem_runner.rb b/test/rubygems/test_gem_gem_runner.rb
index 85ff725..0ca66c9 100644
--- a/test/rubygems/test_gem_gem_runner.rb
+++ b/test/rubygems/test_gem_gem_runner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/gem_runner'
diff --git a/test/rubygems/test_gem_gemcutter_utilities.rb b/test/rubygems/test_gem_gemcutter_utilities.rb
index c117c8f..79be8b0 100644
--- a/test/rubygems/test_gem_gemcutter_utilities.rb
+++ b/test/rubygems/test_gem_gemcutter_utilities.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems'
require 'rubygems/command'
diff --git a/test/rubygems/test_gem_impossible_dependencies_error.rb b/test/rubygems/test_gem_impossible_dependencies_error.rb
index 9c9825c..6a6c9c0 100644
--- a/test/rubygems/test_gem_impossible_dependencies_error.rb
+++ b/test/rubygems/test_gem_impossible_dependencies_error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemImpossibleDependenciesError < Gem::TestCase
diff --git a/test/rubygems/test_gem_indexer.rb b/test/rubygems/test_gem_indexer.rb
index 9622cd1..1f255ff 100644
--- a/test/rubygems/test_gem_indexer.rb
+++ b/test/rubygems/test_gem_indexer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/indexer'
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb
index e7dc52a..d81fa86 100644
--- a/test/rubygems/test_gem_install_update_options.rb
+++ b/test/rubygems/test_gem_install_update_options.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/installer_test_case'
require 'rubygems/install_update_options'
require 'rubygems/command'
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index 2e5ac6a..129c235 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/installer_test_case'
class TestGemInstaller < Gem::InstallerTestCase
diff --git a/test/rubygems/test_gem_local_remote_options.rb b/test/rubygems/test_gem_local_remote_options.rb
index 1a0338b..4e02e2a 100644
--- a/test/rubygems/test_gem_local_remote_options.rb
+++ b/test/rubygems/test_gem_local_remote_options.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/local_remote_options'
require 'rubygems/command'
diff --git a/test/rubygems/test_gem_name_tuple.rb b/test/rubygems/test_gem_name_tuple.rb
index 38320f7..250a167 100644
--- a/test/rubygems/test_gem_name_tuple.rb
+++ b/test/rubygems/test_gem_name_tuple.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/name_tuple'
diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb
index bbb036d..7848bc2 100644
--- a/test/rubygems/test_gem_package.rb
+++ b/test/rubygems/test_gem_package.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require 'rubygems/package/tar_test_case'
require 'rubygems/simple_gem'
diff --git a/test/rubygems/test_gem_package_old.rb b/test/rubygems/test_gem_package_old.rb
index 6236dbb..ddc4e01 100644
--- a/test/rubygems/test_gem_package_old.rb
+++ b/test/rubygems/test_gem_package_old.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/simple_gem'
diff --git a/test/rubygems/test_gem_package_tar_header.rb b/test/rubygems/test_gem_package_tar_header.rb
index 9977e28..f1ece66 100644
--- a/test/rubygems/test_gem_package_tar_header.rb
+++ b/test/rubygems/test_gem_package_tar_header.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/package/tar_test_case'
require 'rubygems/package'
diff --git a/test/rubygems/test_gem_package_tar_reader.rb b/test/rubygems/test_gem_package_tar_reader.rb
index aa45417..2b6b81e 100644
--- a/test/rubygems/test_gem_package_tar_reader.rb
+++ b/test/rubygems/test_gem_package_tar_reader.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/package/tar_test_case'
require 'rubygems/package'
diff --git a/test/rubygems/test_gem_package_tar_reader_entry.rb b/test/rubygems/test_gem_package_tar_reader_entry.rb
index 335601b..1138436 100644
--- a/test/rubygems/test_gem_package_tar_reader_entry.rb
+++ b/test/rubygems/test_gem_package_tar_reader_entry.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/package/tar_test_case'
require 'rubygems/package'
diff --git a/test/rubygems/test_gem_package_tar_writer.rb b/test/rubygems/test_gem_package_tar_writer.rb
index dac9a54..29b7fdb 100644
--- a/test/rubygems/test_gem_package_tar_writer.rb
+++ b/test/rubygems/test_gem_package_tar_writer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/package/tar_test_case'
require 'rubygems/package/tar_writer'
require 'minitest/mock'
diff --git a/test/rubygems/test_gem_package_task.rb b/test/rubygems/test_gem_package_task.rb
index 5b83fc4..f93fc4c 100644
--- a/test/rubygems/test_gem_package_task.rb
+++ b/test/rubygems/test_gem_package_task.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems'
begin
diff --git a/test/rubygems/test_gem_path_support.rb b/test/rubygems/test_gem_path_support.rb
index 879cc98..e9e22d0 100644
--- a/test/rubygems/test_gem_path_support.rb
+++ b/test/rubygems/test_gem_path_support.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems'
require 'fileutils'
diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb
index 1649772..9636afc 100644
--- a/test/rubygems/test_gem_platform.rb
+++ b/test/rubygems/test_gem_platform.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/platform'
require 'rbconfig'
diff --git a/test/rubygems/test_gem_rdoc.rb b/test/rubygems/test_gem_rdoc.rb
index 3ff06fe..69d4e20 100644
--- a/test/rubygems/test_gem_rdoc.rb
+++ b/test/rubygems/test_gem_rdoc.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems'
require 'rubygems/test_case'
require 'rubygems/rdoc'
diff --git a/test/rubygems/test_gem_remote_fetcher.rb b/test/rubygems/test_gem_remote_fetcher.rb
index 5598e46..8b46921 100644
--- a/test/rubygems/test_gem_remote_fetcher.rb
+++ b/test/rubygems/test_gem_remote_fetcher.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'webrick'
diff --git a/test/rubygems/test_gem_request.rb b/test/rubygems/test_gem_request.rb
index 397f575..98cdc80 100644
--- a/test/rubygems/test_gem_request.rb
+++ b/test/rubygems/test_gem_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request'
require 'ostruct'
diff --git a/test/rubygems/test_gem_request_connection_pools.rb b/test/rubygems/test_gem_request_connection_pools.rb
index 1944a4f..30f2730 100644
--- a/test/rubygems/test_gem_request_connection_pools.rb
+++ b/test/rubygems/test_gem_request_connection_pools.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request'
require 'timeout'
diff --git a/test/rubygems/test_gem_request_set.rb b/test/rubygems/test_gem_request_set.rb
index 8afab65..1369902 100644
--- a/test/rubygems/test_gem_request_set.rb
+++ b/test/rubygems/test_gem_request_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request_set'
diff --git a/test/rubygems/test_gem_request_set_gem_dependency_api.rb b/test/rubygems/test_gem_request_set_gem_dependency_api.rb
index 5d7f2d1..6bbe8a6 100644
--- a/test/rubygems/test_gem_request_set_gem_dependency_api.rb
+++ b/test/rubygems/test_gem_request_set_gem_dependency_api.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request_set'
diff --git a/test/rubygems/test_gem_request_set_lockfile.rb b/test/rubygems/test_gem_request_set_lockfile.rb
index 3b85e25..3d30a9a 100644
--- a/test/rubygems/test_gem_request_set_lockfile.rb
+++ b/test/rubygems/test_gem_request_set_lockfile.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request_set'
require 'rubygems/request_set/lockfile'
diff --git a/test/rubygems/test_gem_request_set_lockfile_parser.rb b/test/rubygems/test_gem_request_set_lockfile_parser.rb
index c5b2b19..afb92e28 100644
--- a/test/rubygems/test_gem_request_set_lockfile_parser.rb
+++ b/test/rubygems/test_gem_request_set_lockfile_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request_set'
require 'rubygems/request_set/lockfile'
diff --git a/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb b/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb
index b118583..230d611 100644
--- a/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb
+++ b/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/request_set'
require 'rubygems/request_set/lockfile'
diff --git a/test/rubygems/test_gem_requirement.rb b/test/rubygems/test_gem_requirement.rb
index 234edb4..f608d94 100644
--- a/test/rubygems/test_gem_requirement.rb
+++ b/test/rubygems/test_gem_requirement.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require "rubygems/requirement"
diff --git a/test/rubygems/test_gem_resolver.rb b/test/rubygems/test_gem_resolver.rb
index a944a69..54e4817 100644
--- a/test/rubygems/test_gem_resolver.rb
+++ b/test/rubygems/test_gem_resolver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolver < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_activation_request.rb b/test/rubygems/test_gem_resolver_activation_request.rb
index c9163e2..3456c42 100644
--- a/test/rubygems/test_gem_resolver_activation_request.rb
+++ b/test/rubygems/test_gem_resolver_activation_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverActivationRequest < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_api_set.rb b/test/rubygems/test_gem_resolver_api_set.rb
index 4ae54d7..beb580f 100644
--- a/test/rubygems/test_gem_resolver_api_set.rb
+++ b/test/rubygems/test_gem_resolver_api_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverAPISet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_api_specification.rb b/test/rubygems/test_gem_resolver_api_specification.rb
index dfa61e9..f4335c7 100644
--- a/test/rubygems/test_gem_resolver_api_specification.rb
+++ b/test/rubygems/test_gem_resolver_api_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverAPISpecification < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_best_set.rb b/test/rubygems/test_gem_resolver_best_set.rb
index 055438c..db2cbea 100644
--- a/test/rubygems/test_gem_resolver_best_set.rb
+++ b/test/rubygems/test_gem_resolver_best_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverBestSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_composed_set.rb b/test/rubygems/test_gem_resolver_composed_set.rb
index f8455e1..6032bcf 100644
--- a/test/rubygems/test_gem_resolver_composed_set.rb
+++ b/test/rubygems/test_gem_resolver_composed_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverComposedSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_conflict.rb b/test/rubygems/test_gem_resolver_conflict.rb
index 0cef0ca..d4d81fa 100644
--- a/test/rubygems/test_gem_resolver_conflict.rb
+++ b/test/rubygems/test_gem_resolver_conflict.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverConflict < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_dependency_request.rb b/test/rubygems/test_gem_resolver_dependency_request.rb
index 0665883..2587c64 100644
--- a/test/rubygems/test_gem_resolver_dependency_request.rb
+++ b/test/rubygems/test_gem_resolver_dependency_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverDependencyRequest < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_git_set.rb b/test/rubygems/test_gem_resolver_git_set.rb
index 3659193..c6fca20 100644
--- a/test/rubygems/test_gem_resolver_git_set.rb
+++ b/test/rubygems/test_gem_resolver_git_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverGitSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_git_specification.rb b/test/rubygems/test_gem_resolver_git_specification.rb
index 7ab2979..f484b1c 100644
--- a/test/rubygems/test_gem_resolver_git_specification.rb
+++ b/test/rubygems/test_gem_resolver_git_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/installer'
diff --git a/test/rubygems/test_gem_resolver_index_set.rb b/test/rubygems/test_gem_resolver_index_set.rb
index 04ef884..abac704 100644
--- a/test/rubygems/test_gem_resolver_index_set.rb
+++ b/test/rubygems/test_gem_resolver_index_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverIndexSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_index_specification.rb b/test/rubygems/test_gem_resolver_index_specification.rb
index e52f9c7..6e96052 100644
--- a/test/rubygems/test_gem_resolver_index_specification.rb
+++ b/test/rubygems/test_gem_resolver_index_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/available_set'
diff --git a/test/rubygems/test_gem_resolver_installed_specification.rb b/test/rubygems/test_gem_resolver_installed_specification.rb
index d52876f..f24d9ec 100644
--- a/test/rubygems/test_gem_resolver_installed_specification.rb
+++ b/test/rubygems/test_gem_resolver_installed_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverInstalledSpecification < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_installer_set.rb b/test/rubygems/test_gem_resolver_installer_set.rb
index 039582e..a8627ed 100644
--- a/test/rubygems/test_gem_resolver_installer_set.rb
+++ b/test/rubygems/test_gem_resolver_installer_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverInstallerSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_local_specification.rb b/test/rubygems/test_gem_resolver_local_specification.rb
index fc3175a..8eac442 100644
--- a/test/rubygems/test_gem_resolver_local_specification.rb
+++ b/test/rubygems/test_gem_resolver_local_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/available_set'
diff --git a/test/rubygems/test_gem_resolver_lock_set.rb b/test/rubygems/test_gem_resolver_lock_set.rb
index fdcb8ff..745b5dd 100644
--- a/test/rubygems/test_gem_resolver_lock_set.rb
+++ b/test/rubygems/test_gem_resolver_lock_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverLockSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_lock_specification.rb b/test/rubygems/test_gem_resolver_lock_specification.rb
index 9324035..eabfec0 100644
--- a/test/rubygems/test_gem_resolver_lock_specification.rb
+++ b/test/rubygems/test_gem_resolver_lock_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/installer'
require 'rubygems/resolver'
diff --git a/test/rubygems/test_gem_resolver_requirement_list.rb b/test/rubygems/test_gem_resolver_requirement_list.rb
index fd9dccb..c719247 100644
--- a/test/rubygems/test_gem_resolver_requirement_list.rb
+++ b/test/rubygems/test_gem_resolver_requirement_list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverRequirementList < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_specification.rb b/test/rubygems/test_gem_resolver_specification.rb
index e1ec68a..73bda1f 100644
--- a/test/rubygems/test_gem_resolver_specification.rb
+++ b/test/rubygems/test_gem_resolver_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverSpecification < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_vendor_set.rb b/test/rubygems/test_gem_resolver_vendor_set.rb
index 618e251..6bb282a 100644
--- a/test/rubygems/test_gem_resolver_vendor_set.rb
+++ b/test/rubygems/test_gem_resolver_vendor_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverVendorSet < Gem::TestCase
diff --git a/test/rubygems/test_gem_resolver_vendor_specification.rb b/test/rubygems/test_gem_resolver_vendor_specification.rb
index 3d94cfe..4d72e34 100644
--- a/test/rubygems/test_gem_resolver_vendor_specification.rb
+++ b/test/rubygems/test_gem_resolver_vendor_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemResolverVendorSpecification < Gem::TestCase
diff --git a/test/rubygems/test_gem_security.rb b/test/rubygems/test_gem_security.rb
index b8747b7..d653d2c 100644
--- a/test/rubygems/test_gem_security.rb
+++ b/test/rubygems/test_gem_security.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/security'
require 'rubygems/fix_openssl_warnings' if RUBY_VERSION < "1.9"
diff --git a/test/rubygems/test_gem_security_policy.rb b/test/rubygems/test_gem_security_policy.rb
index d708306..b911d52 100644
--- a/test/rubygems/test_gem_security_policy.rb
+++ b/test/rubygems/test_gem_security_policy.rb
@@ -1,4 +1,5 @@
# coding: UTF-8
+# frozen_string_literal: false
require 'rubygems/test_case'
diff --git a/test/rubygems/test_gem_security_signer.rb b/test/rubygems/test_gem_security_signer.rb
index f077a46..f473d40 100644
--- a/test/rubygems/test_gem_security_signer.rb
+++ b/test/rubygems/test_gem_security_signer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
unless defined?(OpenSSL::SSL) then
diff --git a/test/rubygems/test_gem_security_trust_dir.rb b/test/rubygems/test_gem_security_trust_dir.rb
index 475db2e..387c092 100644
--- a/test/rubygems/test_gem_security_trust_dir.rb
+++ b/test/rubygems/test_gem_security_trust_dir.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
unless defined?(OpenSSL::SSL) then
diff --git a/test/rubygems/test_gem_server.rb b/test/rubygems/test_gem_server.rb
index 98a703c..0ebc7d5 100644
--- a/test/rubygems/test_gem_server.rb
+++ b/test/rubygems/test_gem_server.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/server'
require 'stringio'
diff --git a/test/rubygems/test_gem_silent_ui.rb b/test/rubygems/test_gem_silent_ui.rb
index 01ff79d..0caf362 100644
--- a/test/rubygems/test_gem_silent_ui.rb
+++ b/test/rubygems/test_gem_silent_ui.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/user_interaction'
require 'timeout'
diff --git a/test/rubygems/test_gem_source.rb b/test/rubygems/test_gem_source.rb
index 7d23eee..d4a8a01 100644
--- a/test/rubygems/test_gem_source.rb
+++ b/test/rubygems/test_gem_source.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/source'
require 'rubygems/indexer'
diff --git a/test/rubygems/test_gem_source_fetch_problem.rb b/test/rubygems/test_gem_source_fetch_problem.rb
index e8d4785..34ac743 100644
--- a/test/rubygems/test_gem_source_fetch_problem.rb
+++ b/test/rubygems/test_gem_source_fetch_problem.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemSourceFetchProblem < Gem::TestCase
diff --git a/test/rubygems/test_gem_source_git.rb b/test/rubygems/test_gem_source_git.rb
index 7e5bcca..ea86d66 100644
--- a/test/rubygems/test_gem_source_git.rb
+++ b/test/rubygems/test_gem_source_git.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/source'
diff --git a/test/rubygems/test_gem_source_installed.rb b/test/rubygems/test_gem_source_installed.rb
index 9eaddf7..0337036 100644
--- a/test/rubygems/test_gem_source_installed.rb
+++ b/test/rubygems/test_gem_source_installed.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/source'
diff --git a/test/rubygems/test_gem_source_list.rb b/test/rubygems/test_gem_source_list.rb
index 43db204..23ae749 100644
--- a/test/rubygems/test_gem_source_list.rb
+++ b/test/rubygems/test_gem_source_list.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/source_list'
require 'rubygems/test_case'
diff --git a/test/rubygems/test_gem_source_local.rb b/test/rubygems/test_gem_source_local.rb
index 19e1c4b..05c4c7e 100644
--- a/test/rubygems/test_gem_source_local.rb
+++ b/test/rubygems/test_gem_source_local.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/source'
diff --git a/test/rubygems/test_gem_source_lock.rb b/test/rubygems/test_gem_source_lock.rb
index 23f063d..c5596d2 100644
--- a/test/rubygems/test_gem_source_lock.rb
+++ b/test/rubygems/test_gem_source_lock.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemSourceLock < Gem::TestCase
diff --git a/test/rubygems/test_gem_source_specific_file.rb b/test/rubygems/test_gem_source_specific_file.rb
index 12ef7f5..a54260d 100644
--- a/test/rubygems/test_gem_source_specific_file.rb
+++ b/test/rubygems/test_gem_source_specific_file.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/source'
diff --git a/test/rubygems/test_gem_source_vendor.rb b/test/rubygems/test_gem_source_vendor.rb
index 1d9ae35..f59e6a7 100644
--- a/test/rubygems/test_gem_source_vendor.rb
+++ b/test/rubygems/test_gem_source_vendor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/source'
diff --git a/test/rubygems/test_gem_spec_fetcher.rb b/test/rubygems/test_gem_spec_fetcher.rb
index 6ee1a52..876094f 100644
--- a/test/rubygems/test_gem_spec_fetcher.rb
+++ b/test/rubygems/test_gem_spec_fetcher.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/spec_fetcher'
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 6c7ee60..cfca49a 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'benchmark'
require 'rubygems/test_case'
require 'pathname'
diff --git a/test/rubygems/test_gem_stream_ui.rb b/test/rubygems/test_gem_stream_ui.rb
index bea187e..aa6b19f 100644
--- a/test/rubygems/test_gem_stream_ui.rb
+++ b/test/rubygems/test_gem_stream_ui.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/user_interaction'
require 'timeout'
diff --git a/test/rubygems/test_gem_stub_specification.rb b/test/rubygems/test_gem_stub_specification.rb
index 786a308..5ffbc57 100644
--- a/test/rubygems/test_gem_stub_specification.rb
+++ b/test/rubygems/test_gem_stub_specification.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "rubygems/test_case"
require "rubygems/stub_specification"
diff --git a/test/rubygems/test_gem_text.rb b/test/rubygems/test_gem_text.rb
index 90f81fc..855e9ac 100644
--- a/test/rubygems/test_gem_text.rb
+++ b/test/rubygems/test_gem_text.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require "rubygems/text"
diff --git a/test/rubygems/test_gem_uninstaller.rb b/test/rubygems/test_gem_uninstaller.rb
index c682f72..13cc6eb 100644
--- a/test/rubygems/test_gem_uninstaller.rb
+++ b/test/rubygems/test_gem_uninstaller.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/installer_test_case'
require 'rubygems/uninstaller'
diff --git a/test/rubygems/test_gem_unsatisfiable_dependency_error.rb b/test/rubygems/test_gem_unsatisfiable_dependency_error.rb
index 6418c5d..c7aba3d 100644
--- a/test/rubygems/test_gem_unsatisfiable_dependency_error.rb
+++ b/test/rubygems/test_gem_unsatisfiable_dependency_error.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestGemUnsatisfiableDependencyError < Gem::TestCase
diff --git a/test/rubygems/test_gem_uri_formatter.rb b/test/rubygems/test_gem_uri_formatter.rb
index 628b7c5..036e7cd 100644
--- a/test/rubygems/test_gem_uri_formatter.rb
+++ b/test/rubygems/test_gem_uri_formatter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/uri_formatter'
diff --git a/test/rubygems/test_gem_util.rb b/test/rubygems/test_gem_util.rb
index 2546262..8b763f0 100644
--- a/test/rubygems/test_gem_util.rb
+++ b/test/rubygems/test_gem_util.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/util'
diff --git a/test/rubygems/test_gem_validator.rb b/test/rubygems/test_gem_validator.rb
index 4af8b52..4770bdf 100644
--- a/test/rubygems/test_gem_validator.rb
+++ b/test/rubygems/test_gem_validator.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require "rubygems/simple_gem"
require 'rubygems/validator'
diff --git a/test/rubygems/test_gem_version.rb b/test/rubygems/test_gem_version.rb
index 5a65b5c..ffe4d02 100644
--- a/test/rubygems/test_gem_version.rb
+++ b/test/rubygems/test_gem_version.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require "rubygems/version"
diff --git a/test/rubygems/test_gem_version_option.rb b/test/rubygems/test_gem_version_option.rb
index d6035ab..9af7c63 100644
--- a/test/rubygems/test_gem_version_option.rb
+++ b/test/rubygems/test_gem_version_option.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems/command'
require 'rubygems/version_option'
diff --git a/test/rubygems/test_kernel.rb b/test/rubygems/test_kernel.rb
index ee8b248..f78fe1d 100644
--- a/test/rubygems/test_kernel.rb
+++ b/test/rubygems/test_kernel.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
class TestKernel < Gem::TestCase
diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb
index ec6662f..b0808f9 100644
--- a/test/rubygems/test_require.rb
+++ b/test/rubygems/test_require.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rubygems/test_case'
require 'rubygems'
diff --git a/test/runner.rb b/test/runner.rb
index 13506e5..1fe32fc 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rbconfig'
src_testdir = File.dirname(File.realpath(__FILE__))
diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb
index 93bb63b..827eb2f 100644
--- a/test/scanf/test_scanf.rb
+++ b/test/scanf/test_scanf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
#
# scanf for Ruby
diff --git a/test/scanf/test_scanfblocks.rb b/test/scanf/test_scanfblocks.rb
index aea5033..1c2265a 100644
--- a/test/scanf/test_scanfblocks.rb
+++ b/test/scanf/test_scanfblocks.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
#
# scanf for Ruby
diff --git a/test/scanf/test_scanfio.rb b/test/scanf/test_scanfio.rb
index 969a8ad..cec8750 100644
--- a/test/scanf/test_scanfio.rb
+++ b/test/scanf/test_scanfio.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# $Id$
#
# scanf for Ruby
diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb
index f415584..154bcce 100644
--- a/test/sdbm/test_sdbm.rb
+++ b/test/sdbm/test_sdbm.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/shell/test_command_processor.rb b/test/shell/test_command_processor.rb
index 66e4244..99fe1b2 100644
--- a/test/shell/test_command_processor.rb
+++ b/test/shell/test_command_processor.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'shell'
require 'tmpdir'
diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb
index bd4a0f1..17ae9ab 100644
--- a/test/stringio/test_stringio.rb
+++ b/test/stringio/test_stringio.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'stringio'
require_relative '../ruby/ut_eof'
diff --git a/test/strscan/test_stringscanner.rb b/test/strscan/test_stringscanner.rb
index 260ab6c..ee97e45 100644
--- a/test/strscan/test_stringscanner.rb
+++ b/test/strscan/test_stringscanner.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
#
# test/strscan/test_stringscanner.rb
#
diff --git a/test/syslog/test_syslog_logger.rb b/test/syslog/test_syslog_logger.rb
index d1998a1..5e0cc76 100644
--- a/test/syslog/test_syslog_logger.rb
+++ b/test/syslog/test_syslog_logger.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
begin
diff --git a/test/test_abbrev.rb b/test/test_abbrev.rb
index f342c59..be9b7d5 100644
--- a/test/test_abbrev.rb
+++ b/test/test_abbrev.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'abbrev'
diff --git a/test/test_cmath.rb b/test/test_cmath.rb
index 979082a..2752ce7 100644
--- a/test/test_cmath.rb
+++ b/test/test_cmath.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'cmath'
diff --git a/test/test_delegate.rb b/test/test_delegate.rb
index 6270cc6..629d191 100644
--- a/test/test_delegate.rb
+++ b/test/test_delegate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'delegate'
diff --git a/test/test_find.rb b/test/test_find.rb
index 2fa81eb..d0e9206 100644
--- a/test/test_find.rb
+++ b/test/test_find.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'find'
require 'tmpdir'
diff --git a/test/test_forwardable.rb b/test/test_forwardable.rb
index 6dd015e..a3d03f4 100644
--- a/test/test_forwardable.rb
+++ b/test/test_forwardable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'forwardable'
diff --git a/test/test_ipaddr.rb b/test/test_ipaddr.rb
index 88b4a01..b9209f7 100644
--- a/test/test_ipaddr.rb
+++ b/test/test_ipaddr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'ipaddr'
diff --git a/test/test_mathn.rb b/test/test_mathn.rb
index 8a482f3..aaf132b 100644
--- a/test/test_mathn.rb
+++ b/test/test_mathn.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
# mathn redefines too much. It must be isolated to child processes.
diff --git a/test/test_mutex_m.rb b/test/test_mutex_m.rb
index a29f3f4..e31c086 100644
--- a/test/test_mutex_m.rb
+++ b/test/test_mutex_m.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
require 'mutex_m'
diff --git a/test/test_observer.rb b/test/test_observer.rb
index e2c159a..c2fa728 100644
--- a/test/test_observer.rb
+++ b/test/test_observer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'observer'
diff --git a/test/test_prime.rb b/test/test_prime.rb
index f8abebc..b48ccae 100644
--- a/test/test_prime.rb
+++ b/test/test_prime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'prime'
require 'timeout'
diff --git a/test/test_pstore.rb b/test/test_pstore.rb
index e028ed6..e7fe4f1 100644
--- a/test/test_pstore.rb
+++ b/test/test_pstore.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'pstore'
require 'tmpdir'
diff --git a/test/test_pty.rb b/test/test_pty.rb
index 0ec4f96..cedf00f 100644
--- a/test/test_pty.rb
+++ b/test/test_pty.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'shellwords'
require 'tmpdir'
diff --git a/test/test_rbconfig.rb b/test/test_rbconfig.rb
index 3620450..1bbf01b 100644
--- a/test/test_rbconfig.rb
+++ b/test/test_rbconfig.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'rbconfig'
require 'shellwords'
diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb
index da48a3b..515d05e 100644
--- a/test/test_securerandom.rb
+++ b/test/test_securerandom.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'securerandom'
require 'tempfile'
diff --git a/test/test_set.rb b/test/test_set.rb
index 66944f5..15c5a13 100644
--- a/test/test_set.rb
+++ b/test/test_set.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'set'
diff --git a/test/test_shellwords.rb b/test/test_shellwords.rb
index c160ed9..2916d5d 100644
--- a/test/test_shellwords.rb
+++ b/test/test_shellwords.rb
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# frozen_string_literal: false
require 'test/unit'
require 'shellwords'
diff --git a/test/test_singleton.rb b/test/test_singleton.rb
index 36d4937..b3c48bb 100644
--- a/test/test_singleton.rb
+++ b/test/test_singleton.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'singleton'
diff --git a/test/test_syslog.rb b/test/test_syslog.rb
index 7f1f76f..c66e5f5 100644
--- a/test/test_syslog.rb
+++ b/test/test_syslog.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# Please only run this test on machines reasonable for testing.
# If in doubt, ask your admin.
diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb
index bcd9535..c8af2f5 100644
--- a/test/test_tempfile.rb
+++ b/test/test_tempfile.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tempfile'
require 'thread'
diff --git a/test/test_timeout.rb b/test/test_timeout.rb
index 911ad8c..94ae83e 100644
--- a/test/test_timeout.rb
+++ b/test/test_timeout.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
require 'thread'
diff --git a/test/test_tmpdir.rb b/test/test_tmpdir.rb
index 842b2de..4fc4bca 100644
--- a/test/test_tmpdir.rb
+++ b/test/test_tmpdir.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/test_tracer.rb b/test/test_tracer.rb
index b4ed7fc..6622b53 100644
--- a/test/test_tracer.rb
+++ b/test/test_tracer.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'tmpdir'
diff --git a/test/test_unicode_normalize.rb b/test/test_unicode_normalize.rb
index 3dfac8b..548c8a8 100644
--- a/test/test_unicode_normalize.rb
+++ b/test/test_unicode_normalize.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
# Copyright Ayumu Nojima (野島 歩) and Martin J. Dürst (duerst@it.aoyama.ac.jp)
diff --git a/test/test_weakref.rb b/test/test_weakref.rb
index 9f671f4..7520e6b 100644
--- a/test/test_weakref.rb
+++ b/test/test_weakref.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'weakref'
diff --git a/test/test_win32api.rb b/test/test_win32api.rb
index b1856a3..6e39ca3 100644
--- a/test/test_win32api.rb
+++ b/test/test_win32api.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
begin
require "Win32API"
diff --git a/test/testunit/test4test_hideskip.rb b/test/testunit/test4test_hideskip.rb
index 7dba6f5..b870c76 100644
--- a/test/testunit/test4test_hideskip.rb
+++ b/test/testunit/test4test_hideskip.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
diff --git a/test/testunit/test4test_redefinition.rb b/test/testunit/test4test_redefinition.rb
index 77cfd45..894bc3d 100644
--- a/test/testunit/test4test_redefinition.rb
+++ b/test/testunit/test4test_redefinition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
diff --git a/test/testunit/test4test_sorting.rb b/test/testunit/test4test_sorting.rb
index b8bb943..4848a78 100644
--- a/test/testunit/test4test_sorting.rb
+++ b/test/testunit/test4test_sorting.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
diff --git a/test/testunit/test_assertion.rb b/test/testunit/test_assertion.rb
index 374d6e0..4cd7bd7 100644
--- a/test/testunit/test_assertion.rb
+++ b/test/testunit/test_assertion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestAssertion < Test::Unit::TestCase
def test_wrong_assertion
diff --git a/test/testunit/test_hideskip.rb b/test/testunit/test_hideskip.rb
index e696b5e..a8d7b55 100644
--- a/test/testunit/test_hideskip.rb
+++ b/test/testunit/test_hideskip.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestHideSkip < Test::Unit::TestCase
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb
index f068b34..3d85f9c 100644
--- a/test/testunit/test_parallel.rb
+++ b/test/testunit/test_parallel.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
diff --git a/test/testunit/test_redefinition.rb b/test/testunit/test_redefinition.rb
index ed11621..9129e55 100644
--- a/test/testunit/test_redefinition.rb
+++ b/test/testunit/test_redefinition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestRedefinition < Test::Unit::TestCase
diff --git a/test/testunit/test_sorting.rb b/test/testunit/test_sorting.rb
index e13ca1f..f9de3ec 100644
--- a/test/testunit/test_sorting.rb
+++ b/test/testunit/test_sorting.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestTestUnitSorting < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_first.rb b/test/testunit/tests_for_parallel/ptest_first.rb
index 66c7704..f868733 100644
--- a/test/testunit/tests_for_parallel/ptest_first.rb
+++ b/test/testunit/tests_for_parallel/ptest_first.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestA < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_forth.rb b/test/testunit/tests_for_parallel/ptest_forth.rb
index 46c88da..8831676 100644
--- a/test/testunit/tests_for_parallel/ptest_forth.rb
+++ b/test/testunit/tests_for_parallel/ptest_forth.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestE < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_second.rb b/test/testunit/tests_for_parallel/ptest_second.rb
index 7004d68..a793c17 100644
--- a/test/testunit/tests_for_parallel/ptest_second.rb
+++ b/test/testunit/tests_for_parallel/ptest_second.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestB < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_third.rb b/test/testunit/tests_for_parallel/ptest_third.rb
index 338fc32..3f448ec 100644
--- a/test/testunit/tests_for_parallel/ptest_third.rb
+++ b/test/testunit/tests_for_parallel/ptest_third.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestD < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/runner.rb b/test/testunit/tests_for_parallel/runner.rb
index e262e1e..bece739 100644
--- a/test/testunit/tests_for_parallel/runner.rb
+++ b/test/testunit/tests_for_parallel/runner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rbconfig'
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"
diff --git a/test/thread/test_cv.rb b/test/thread/test_cv.rb
index b399b47..53c7d27 100644
--- a/test/thread/test_cv.rb
+++ b/test/thread/test_cv.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
require 'tmpdir'
diff --git a/test/thread/test_queue.rb b/test/thread/test_queue.rb
index 0a1ae48..32662ba 100644
--- a/test/thread/test_queue.rb
+++ b/test/thread/test_queue.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'thread'
require 'tmpdir'
diff --git a/test/thread/test_sync.rb b/test/thread/test_sync.rb
index 9509cac..e576fc1 100644
--- a/test/thread/test_sync.rb
+++ b/test/thread/test_sync.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'sync'
require 'timeout'
diff --git a/test/uri/test_common.rb b/test/uri/test_common.rb
index 5620415..4a7300f 100644
--- a/test/uri/test_common.rb
+++ b/test/uri/test_common.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri'
diff --git a/test/uri/test_ftp.rb b/test/uri/test_ftp.rb
index cc6843e..0eec984 100644
--- a/test/uri/test_ftp.rb
+++ b/test/uri/test_ftp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri/ftp'
diff --git a/test/uri/test_generic.rb b/test/uri/test_generic.rb
index 941d8ff..eda6497 100644
--- a/test/uri/test_generic.rb
+++ b/test/uri/test_generic.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri'
diff --git a/test/uri/test_http.rb b/test/uri/test_http.rb
index 5d04e8c..1125988 100644
--- a/test/uri/test_http.rb
+++ b/test/uri/test_http.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri/http'
diff --git a/test/uri/test_ldap.rb b/test/uri/test_ldap.rb
index a4cdbff..adad445 100644
--- a/test/uri/test_ldap.rb
+++ b/test/uri/test_ldap.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri/ldap'
diff --git a/test/uri/test_mailto.rb b/test/uri/test_mailto.rb
index 9001835..4e3b042 100644
--- a/test/uri/test_mailto.rb
+++ b/test/uri/test_mailto.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri/mailto'
diff --git a/test/uri/test_parser.rb b/test/uri/test_parser.rb
index 188b4f8..757ac86 100644
--- a/test/uri/test_parser.rb
+++ b/test/uri/test_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'uri'
diff --git a/test/webrick/test_cgi.rb b/test/webrick/test_cgi.rb
index b9d0661..0902868 100644
--- a/test/webrick/test_cgi.rb
+++ b/test/webrick/test_cgi.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require_relative "utils"
require "webrick"
require "test/unit"
diff --git a/test/webrick/test_cookie.rb b/test/webrick/test_cookie.rb
index 1652f39..ebbc593 100644
--- a/test/webrick/test_cookie.rb
+++ b/test/webrick/test_cookie.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "webrick/cookie"
diff --git a/test/webrick/test_do_not_reverse_lookup.rb b/test/webrick/test_do_not_reverse_lookup.rb
index 57f3b1d..efcb5a9 100644
--- a/test/webrick/test_do_not_reverse_lookup.rb
+++ b/test/webrick/test_do_not_reverse_lookup.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "webrick"
require_relative "utils"
diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb
index 38b43d7..663b237 100644
--- a/test/webrick/test_filehandler.rb
+++ b/test/webrick/test_filehandler.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require_relative "utils.rb"
require "webrick"
diff --git a/test/webrick/test_htmlutils.rb b/test/webrick/test_htmlutils.rb
index 1fe49ee..ae1b8ef 100644
--- a/test/webrick/test_htmlutils.rb
+++ b/test/webrick/test_htmlutils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "webrick/htmlutils"
diff --git a/test/webrick/test_httpauth.rb b/test/webrick/test_httpauth.rb
index 27c37f3..4376b91 100644
--- a/test/webrick/test_httpauth.rb
+++ b/test/webrick/test_httpauth.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "net/http"
require "tempfile"
diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb
index 501bb4c..6837f0c 100644
--- a/test/webrick/test_httpproxy.rb
+++ b/test/webrick/test_httpproxy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "net/http"
require "webrick"
diff --git a/test/webrick/test_httprequest.rb b/test/webrick/test_httprequest.rb
index 3a7e675..45d26f8 100644
--- a/test/webrick/test_httprequest.rb
+++ b/test/webrick/test_httprequest.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "webrick"
require "stringio"
require "test/unit"
diff --git a/test/webrick/test_httpresponse.rb b/test/webrick/test_httpresponse.rb
index c916ed5..b3f06cd 100644
--- a/test/webrick/test_httpresponse.rb
+++ b/test/webrick/test_httpresponse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "webrick"
require "minitest/autorun"
require "stringio"
diff --git a/test/webrick/test_httpserver.rb b/test/webrick/test_httpserver.rb
index 933aa0e..e718738 100644
--- a/test/webrick/test_httpserver.rb
+++ b/test/webrick/test_httpserver.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "net/http"
require "webrick"
diff --git a/test/webrick/test_httputils.rb b/test/webrick/test_httputils.rb
index 2753cbe..00f297b 100644
--- a/test/webrick/test_httputils.rb
+++ b/test/webrick/test_httputils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "webrick/httputils"
diff --git a/test/webrick/test_httpversion.rb b/test/webrick/test_httpversion.rb
index 81a871a..e50ee17 100644
--- a/test/webrick/test_httpversion.rb
+++ b/test/webrick/test_httpversion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "webrick/httpversion"
diff --git a/test/webrick/test_server.rb b/test/webrick/test_server.rb
index 1a72036..4d539d0 100644
--- a/test/webrick/test_server.rb
+++ b/test/webrick/test_server.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "tempfile"
require "webrick"
diff --git a/test/webrick/test_utils.rb b/test/webrick/test_utils.rb
index fc68124..23996de 100644
--- a/test/webrick/test_utils.rb
+++ b/test/webrick/test_utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "webrick/utils"
diff --git a/test/webrick/utils.rb b/test/webrick/utils.rb
index 71559a5..ce667df 100644
--- a/test/webrick/utils.rb
+++ b/test/webrick/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "webrick"
begin
require "webrick/https"
diff --git a/test/win32ole/err_in_callback.rb b/test/win32ole/err_in_callback.rb
index fabb7be..aa6c9c7 100644
--- a/test/win32ole/err_in_callback.rb
+++ b/test/win32ole/err_in_callback.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'win32ole'
db = WIN32OLE.new('ADODB.Connection')
db.connectionString = "Driver={Microsoft Text Driver (*.txt; *.csv)};DefaultDir=.;"
diff --git a/test/win32ole/test_err_in_callback.rb b/test/win32ole/test_err_in_callback.rb
index cae6d49..2c2b4a6 100644
--- a/test/win32ole/test_err_in_callback.rb
+++ b/test/win32ole/test_err_in_callback.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# test Win32OLE avoids cfp consistency error when the exception raised
# in WIN32OLE_EVENT handler block. [ruby-dev:35450]
diff --git a/test/win32ole/test_folderitem2_invokeverb.rb b/test/win32ole/test_folderitem2_invokeverb.rb
index c5ec88c..e11503c 100644
--- a/test/win32ole/test_folderitem2_invokeverb.rb
+++ b/test/win32ole/test_folderitem2_invokeverb.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# This script check that Win32OLE can execute InvokeVerb method of FolderItem2.
#
diff --git a/test/win32ole/test_nil2vtempty.rb b/test/win32ole/test_nil2vtempty.rb
index 8508ecd..49757d6 100644
--- a/test/win32ole/test_nil2vtempty.rb
+++ b/test/win32ole/test_nil2vtempty.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
# This is test script to check that WIN32OLE should convert nil to VT_EMPTY in second try.
# [ruby-talk:137054]
begin
diff --git a/test/win32ole/test_ole_methods.rb b/test/win32ole/test_ole_methods.rb
index 869828d..cb90356 100644
--- a/test/win32ole/test_ole_methods.rb
+++ b/test/win32ole/test_ole_methods.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# This is test for [ruby-talk:196897]
#
diff --git a/test/win32ole/test_propertyputref.rb b/test/win32ole/test_propertyputref.rb
index 24459af..93edb50 100644
--- a/test/win32ole/test_propertyputref.rb
+++ b/test/win32ole/test_propertyputref.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
begin
require 'win32ole'
diff --git a/test/win32ole/test_thread.rb b/test/win32ole/test_thread.rb
index 56a6357..f1cdfe3 100644
--- a/test/win32ole/test_thread.rb
+++ b/test/win32ole/test_thread.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole.rb b/test/win32ole/test_win32ole.rb
index 6cf2b3c..c095e6d 100644
--- a/test/win32ole/test_win32ole.rb
+++ b/test/win32ole/test_win32ole.rb
@@ -1,4 +1,5 @@
# coding: us-ascii
+# frozen_string_literal: false
begin
require 'win32ole'
diff --git a/test/win32ole/test_win32ole_event.rb b/test/win32ole/test_win32ole_event.rb
index f91f0a1..02bbeee 100644
--- a/test/win32ole/test_win32ole_event.rb
+++ b/test/win32ole/test_win32ole_event.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_method.rb b/test/win32ole/test_win32ole_method.rb
index 2a4e3d0..7fb43fd 100644
--- a/test/win32ole/test_win32ole_method.rb
+++ b/test/win32ole/test_win32ole_method.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_param.rb b/test/win32ole/test_win32ole_param.rb
index 1a4eeff..4f8104b 100644
--- a/test/win32ole/test_win32ole_param.rb
+++ b/test/win32ole/test_win32ole_param.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_record.rb b/test/win32ole/test_win32ole_record.rb
index e32a9e2..654c747 100644
--- a/test/win32ole/test_win32ole_record.rb
+++ b/test/win32ole/test_win32ole_record.rb
@@ -1,4 +1,5 @@
# coding: us-ascii
+# frozen_string_literal: false
begin
require 'win32ole'
diff --git a/test/win32ole/test_win32ole_type.rb b/test/win32ole/test_win32ole_type.rb
index 5422352..ce11e02 100644
--- a/test/win32ole/test_win32ole_type.rb
+++ b/test/win32ole/test_win32ole_type.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_typelib.rb b/test/win32ole/test_win32ole_typelib.rb
index a548bc1..321c019 100644
--- a/test/win32ole/test_win32ole_typelib.rb
+++ b/test/win32ole/test_win32ole_typelib.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_variable.rb b/test/win32ole/test_win32ole_variable.rb
index 5fdcb07..826029e 100644
--- a/test/win32ole/test_win32ole_variable.rb
+++ b/test/win32ole/test_win32ole_variable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_variant.rb b/test/win32ole/test_win32ole_variant.rb
index 27ede7d..0d27aae 100644
--- a/test/win32ole/test_win32ole_variant.rb
+++ b/test/win32ole/test_win32ole_variant.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_variant_m.rb b/test/win32ole/test_win32ole_variant_m.rb
index b3e48c2..25ad56c 100644
--- a/test/win32ole/test_win32ole_variant_m.rb
+++ b/test/win32ole/test_win32ole_variant_m.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_win32ole_variant_outarg.rb b/test/win32ole/test_win32ole_variant_outarg.rb
index ffc8e06..aa5793b 100644
--- a/test/win32ole/test_win32ole_variant_outarg.rb
+++ b/test/win32ole/test_win32ole_variant_outarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'win32ole'
rescue LoadError
diff --git a/test/win32ole/test_word.rb b/test/win32ole/test_word.rb
index a67b80b..03b0bcb 100644
--- a/test/win32ole/test_word.rb
+++ b/test/win32ole/test_word.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
#
# This is test for [ruby-Bugs#3237]
#
diff --git a/test/xmlrpc/test_client.rb b/test/xmlrpc/test_client.rb
index b189728..5a74c52 100644
--- a/test/xmlrpc/test_client.rb
+++ b/test/xmlrpc/test_client.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'xmlrpc/client'
require 'net/http'
diff --git a/test/xmlrpc/test_cookie.rb b/test/xmlrpc/test_cookie.rb
index cfcfe4c..32eedca 100644
--- a/test/xmlrpc/test_cookie.rb
+++ b/test/xmlrpc/test_cookie.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'time'
require 'webrick'
diff --git a/test/xmlrpc/test_datetime.rb b/test/xmlrpc/test_datetime.rb
index d6bb95d..6a46e15 100644
--- a/test/xmlrpc/test_datetime.rb
+++ b/test/xmlrpc/test_datetime.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "xmlrpc/datetime"
diff --git a/test/xmlrpc/test_features.rb b/test/xmlrpc/test_features.rb
index 48bb0d4..ea97ab8 100644
--- a/test/xmlrpc/test_features.rb
+++ b/test/xmlrpc/test_features.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "xmlrpc/create"
require "xmlrpc/parser"
diff --git a/test/xmlrpc/test_marshal.rb b/test/xmlrpc/test_marshal.rb
index 34ddfa9..251f9f6 100644
--- a/test/xmlrpc/test_marshal.rb
+++ b/test/xmlrpc/test_marshal.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "xmlrpc/marshal"
diff --git a/test/xmlrpc/test_parser.rb b/test/xmlrpc/test_parser.rb
index 5591645..8800442 100644
--- a/test/xmlrpc/test_parser.rb
+++ b/test/xmlrpc/test_parser.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'xmlrpc/datetime'
require "xmlrpc/parser"
diff --git a/test/xmlrpc/test_webrick_server.rb b/test/xmlrpc/test_webrick_server.rb
index bc10239..268a013 100644
--- a/test/xmlrpc/test_webrick_server.rb
+++ b/test/xmlrpc/test_webrick_server.rb
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: false
require 'test/unit'
require 'webrick'
diff --git a/test/xmlrpc/webrick_testing.rb b/test/xmlrpc/webrick_testing.rb
index 37c0b69..ff287f7 100644
--- a/test/xmlrpc/webrick_testing.rb
+++ b/test/xmlrpc/webrick_testing.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'timeout'
module TestXMLRPC
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index b22e04e..37d4b69 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'stringio'
require 'tempfile'