summaryrefslogtreecommitdiff
path: root/test/fiddle
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/fiddle
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/fiddle')
-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
11 files changed, 11 insertions, 0 deletions
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
index 0952cc24388..1da3d938194 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 de5449b43da..39b7aeff996 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 165c4ecacba..3c4d538ff1b 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 56839e7b631..0e3574ff84e 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 4d4799d8d64..16134f5aa72 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 4c6ab97b12e..cf4839af860 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 529aaa8baf2..5cdf90f5679 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 9351f961df6..06d0eb2b509 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 54165f00afa..f14357c6cb6 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 c83f50fe447..ba68296fd05 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 ef54470943f..ec677324eb8 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