diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:07:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:07:31 +0000 |
commit | 3e92b635fb5422207b7bbdc924e292e51e21f040 (patch) | |
tree | 584f90b868188077c435bf144e15e66540a73acd /test/ruby/enc | |
parent | f6f7073e125ff903b77b8cb982a7417d96d51902 (diff) | |
download | ruby-3e92b635fb5422207b7bbdc924e292e51e21f040.tar.gz |
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/ruby/enc')
-rw-r--r-- | test/ruby/enc/test_big5.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_cp949.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_emoji.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_euc_jp.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_euc_kr.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_euc_tw.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_gb18030.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_gbk.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_iso_8859.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_koi8.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_shift_jis.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_utf16.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_utf32.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_windows_1251.rb | 1 | ||||
-rw-r--r-- | test/ruby/enc/test_windows_1252.rb | 1 |
15 files changed, 15 insertions, 0 deletions
diff --git a/test/ruby/enc/test_big5.rb b/test/ruby/enc/test_big5.rb index e8fe0270a8..5dcf93e8e3 100644 --- a/test/ruby/enc/test_big5.rb +++ b/test/ruby/enc/test_big5.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestBig5 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_cp949.rb b/test/ruby/enc/test_cp949.rb index e675c7b80c..0684162d5b 100644 --- a/test/ruby/enc/test_cp949.rb +++ b/test/ruby/enc/test_cp949.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestCP949 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_emoji.rb b/test/ruby/enc/test_emoji.rb index 1f80c5a79e..330ff70cb9 100644 --- a/test/ruby/enc/test_emoji.rb +++ b/test/ruby/enc/test_emoji.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'test/unit' module Emoji diff --git a/test/ruby/enc/test_euc_jp.rb b/test/ruby/enc/test_euc_jp.rb index 510ee4611e..4aec69e4db 100644 --- a/test/ruby/enc/test_euc_jp.rb +++ b/test/ruby/enc/test_euc_jp.rb @@ -1,4 +1,5 @@ # vim: set fileencoding=euc-jp +# frozen_string_literal: false require "test/unit" diff --git a/test/ruby/enc/test_euc_kr.rb b/test/ruby/enc/test_euc_kr.rb index 5413fa6062..c9de2cc4e1 100644 --- a/test/ruby/enc/test_euc_kr.rb +++ b/test/ruby/enc/test_euc_kr.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestEucKr < Test::Unit::TestCase diff --git a/test/ruby/enc/test_euc_tw.rb b/test/ruby/enc/test_euc_tw.rb index f36d86b088..649b1b81c6 100644 --- a/test/ruby/enc/test_euc_tw.rb +++ b/test/ruby/enc/test_euc_tw.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestEucTw < Test::Unit::TestCase diff --git a/test/ruby/enc/test_gb18030.rb b/test/ruby/enc/test_gb18030.rb index f379504d48..76ac785951 100644 --- a/test/ruby/enc/test_gb18030.rb +++ b/test/ruby/enc/test_gb18030.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestGB18030 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_gbk.rb b/test/ruby/enc/test_gbk.rb index d6dc5d6d1b..2e541b5821 100644 --- a/test/ruby/enc/test_gbk.rb +++ b/test/ruby/enc/test_gbk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestGBK < Test::Unit::TestCase diff --git a/test/ruby/enc/test_iso_8859.rb b/test/ruby/enc/test_iso_8859.rb index 64cc7cd76d..f6b3b3f28b 100644 --- a/test/ruby/enc/test_iso_8859.rb +++ b/test/ruby/enc/test_iso_8859.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'test/unit' class TestISO8859 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_koi8.rb b/test/ruby/enc/test_koi8.rb index ce2d8925ea..4a4d233e8d 100644 --- a/test/ruby/enc/test_koi8.rb +++ b/test/ruby/enc/test_koi8.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "test/unit" class TestKOI8 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_shift_jis.rb b/test/ruby/enc/test_shift_jis.rb index 1bd47fa859..059992d167 100644 --- a/test/ruby/enc/test_shift_jis.rb +++ b/test/ruby/enc/test_shift_jis.rb @@ -1,4 +1,5 @@ # vim: set fileencoding=shift_jis +# frozen_string_literal: false require "test/unit" diff --git a/test/ruby/enc/test_utf16.rb b/test/ruby/enc/test_utf16.rb index 63929c6f4b..99b48c2982 100644 --- a/test/ruby/enc/test_utf16.rb +++ b/test/ruby/enc/test_utf16.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'test/unit' class TestUTF16 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_utf32.rb b/test/ruby/enc/test_utf32.rb index 29a2240598..23e8aeb315 100644 --- a/test/ruby/enc/test_utf32.rb +++ b/test/ruby/enc/test_utf32.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'test/unit' class TestUTF32 < Test::Unit::TestCase diff --git a/test/ruby/enc/test_windows_1251.rb b/test/ruby/enc/test_windows_1251.rb index 6fbf3159a1..002dbaa3cc 100644 --- a/test/ruby/enc/test_windows_1251.rb +++ b/test/ruby/enc/test_windows_1251.rb @@ -1,4 +1,5 @@ # encoding:windows-1251 +# frozen_string_literal: false require "test/unit" diff --git a/test/ruby/enc/test_windows_1252.rb b/test/ruby/enc/test_windows_1252.rb index 72ee3d201a..f264cba759 100644 --- a/test/ruby/enc/test_windows_1252.rb +++ b/test/ruby/enc/test_windows_1252.rb @@ -1,4 +1,5 @@ # encoding:windows-1252 +# frozen_string_literal: false require "test/unit" |