diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:50:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 02:50:01 +0000 |
commit | 91275eb478ceb58083426099b6da3f4c7e189f19 (patch) | |
tree | 260f7d2fa77408b38c5cea96b320b9b0b6713ff2 /debian/vendor-h2o/deps/mruby/test/t/unicode.rb | |
parent | Merging upstream version 1.9.4. (diff) | |
download | dnsdist-91275eb478ceb58083426099b6da3f4c7e189f19.tar.xz dnsdist-91275eb478ceb58083426099b6da3f4c7e189f19.zip |
Merging debian version 1.9.4-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/vendor-h2o/deps/mruby/test/t/unicode.rb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/debian/vendor-h2o/deps/mruby/test/t/unicode.rb b/debian/vendor-h2o/deps/mruby/test/t/unicode.rb deleted file mode 100644 index 8622ae0..0000000 --- a/debian/vendor-h2o/deps/mruby/test/t/unicode.rb +++ /dev/null @@ -1,39 +0,0 @@ -# Test of the \u notation - -assert('bare \u notation test') do - # Mininum and maximum one byte characters - assert_equal("\x00", "\u0000") - assert_equal("\x7F", "\u007F") - - # Mininum and maximum two byte characters - assert_equal("\xC2\x80", "\u0080") - assert_equal("\xDF\xBF", "\u07FF") - - # Mininum and maximum three byte characters - assert_equal("\xE0\xA0\x80", "\u0800") - assert_equal("\xEF\xBF\xBF", "\uFFFF") - - # Four byte characters require the \U notation -end - -assert('braced \u notation test') do - # Mininum and maximum one byte characters - assert_equal("\x00", "\u{0000}") - assert_equal("\x7F", "\u{007F}") - - # Mininum and maximum two byte characters - assert_equal("\xC2\x80", "\u{0080}") - assert_equal("\xDF\xBF", "\u{07FF}") - - # Mininum and maximum three byte characters - assert_equal("\xE0\xA0\x80", "\u{0800}") - assert_equal("\xEF\xBF\xBF", "\u{FFFF}") - - # Mininum and maximum four byte characters - assert_equal("\xF0\x90\x80\x80", "\u{10000}") - assert_equal("\xF4\x8F\xBF\xBF", "\u{10FFFF}") -end - -assert('braced multiple \u notation test') do - assert_equal("ABC", "\u{41 42 43}") -end |