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 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