summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
commit3e92b635fb5422207b7bbdc924e292e51e21f040 (patch)
tree584f90b868188077c435bf144e15e66540a73acd /test/json
parentf6f7073e125ff903b77b8cb982a7417d96d51902 (diff)
Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 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')