summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib')
-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
17 files changed, 17 insertions, 0 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb
index 2f2ec6deb6..a0b907c245 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 4ba9a0533e..0ddd307f8c 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 db9b7678c9..675b6580d6 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 98a598f365..a9bc5813c5 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 b275db05e6..deaaeb2a1b 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 88b1e0550d..40640b2580 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 5195fc01bc..21f0b29d50 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 19acaff68e..07e88113ea 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 e67ca02cd8..62f89e97e5 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 08de7bb129..4496d3f780 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 d886f29c73..85e6d76f3d 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 201e24592a..c749384eba 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 780deda5ae..6a319c3c3f 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 d6ea4fd2b1..10348b5c9b 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 2d56e658ff..73631d415e 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 76dfa6896c..164914f1d6 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 77be4dfea8..8a8fba649c 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