summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
Diffstat (limited to 'test/json')
-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
9 files changed, 9 insertions, 0 deletions
diff --git a/test/json/setup_variant.rb b/test/json/setup_variant.rb
index 2dab184bc42..f7fb2a1d563 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 07287eed816..8fe94599784 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 6034a183bd8..f2059312de8 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 13903cd266f..50fb4ea2793 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 c8614395734..e192706d6b6 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 5da0d2f4f01..50895f62476 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 c43c7762be9..e04e1a1cb3e 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 c233df8c2cd..61582311036 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 8352d5c6c6a..16234f04910 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')