diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2023-11-29 11:18:38 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2023-11-30 21:37:56 -0500 |
| commit | 219c3c1c09417d99e9de295c15a9deb8d158ff86 (patch) | |
| tree | 327ada71819a616691e462aa06461d4f4150a996 /test | |
| parent | ba1cdadfc8ad6f284efeefbcebef1ca85bae178c (diff) | |
[ruby/prism] Add other UTF8 encodings
https://github.com/ruby/prism/commit/709fb6e09f
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/encoding_test.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/prism/encoding_test.rb b/test/prism/encoding_test.rb index 76162bec1e..13c622e40a 100644 --- a/test/prism/encoding_test.rb +++ b/test/prism/encoding_test.rb @@ -54,6 +54,7 @@ module Prism Encoding::MACROMANIA => 0x00...0x100, Encoding::MACTHAI => 0x00...0x100, Encoding::MACTURKISH => 0x00...0x100, + Encoding::MACUKRAINE => 0x00...0x100, Encoding::TIS_620 => 0x00...0x100, Encoding::Windows_1250 => 0x00...0x100, Encoding::Windows_1251 => 0x00...0x100, @@ -82,9 +83,12 @@ module Prism # suite. if ENV["PRISM_TEST_ALL_ENCODINGS"] encodings.merge!( - Encoding::EUC_JP => 0x00...0x1000000, - Encoding::UTF_8 => 0x00...0x110000, - Encoding::UTF8_MAC => 0x00...0x110000 + Encoding::EUC_JP => 0x00...0x1000000, + Encoding::UTF_8 => 0x00...0x110000, + Encoding::UTF8_MAC => 0x00...0x110000, + Encoding::UTF8_DoCoMo => 0x00...0x110000, + Encoding::UTF8_KDDI => 0x00...0x110000, + Encoding::UTF8_SoftBank => 0x00...0x110000 ) end |
