diff options
author | Patrick O'Grady <ogradypatrickj@gmail.com> | 2023-11-22 08:21:11 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-22 13:21:15 +0000 |
commit | e9ccceab1106fe887665646f2035f7005fc2a5a5 (patch) | |
tree | fb244d4c6a91ebf5d019df32677f56a353c9905a /test/prism/encoding_test.rb | |
parent | c05495530e0308d82a39bb5b248f711f0a485921 (diff) | |
download | ruby-e9ccceab1106fe887665646f2035f7005fc2a5a5.tar.gz |
[ruby/prism] Add KOI8-U encoding
(https://github.com/ruby/prism/pull/1906)
* Add test for KOI8-U
* Rename koi8 char_width function
- Rename function for use with any KOI8-based encoding
* Add KOI8-U encoding
* Add encoding to encoding.md
https://github.com/ruby/prism/commit/6cad4552f7
Diffstat (limited to 'test/prism/encoding_test.rb')
-rw-r--r-- | test/prism/encoding_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/prism/encoding_test.rb b/test/prism/encoding_test.rb index dfbbff0a47..5a0a671b5b 100644 --- a/test/prism/encoding_test.rb +++ b/test/prism/encoding_test.rb @@ -44,6 +44,7 @@ module Prism Encoding::ISO_8859_15 => 0x00...0x100, Encoding::ISO_8859_16 => 0x00...0x100, Encoding::KOI8_R => 0x00...0x100, + Encoding::KOI8_U => 0x00...0x100, Encoding::MACCENTEURO => 0x00...0x100, Encoding::MACCROATIAN => 0x00...0x100, Encoding::MACCYRILLIC => 0x00...0x100, |