mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
@@ -464,8 +464,6 @@ if UTF8STRING
|
||||
end
|
||||
|
||||
assert('UTF8 byte counting') do
|
||||
# based on assert_equal 34, "helloó".rjust(34).length
|
||||
# see https://github.com/mruby/mruby/issues/3448
|
||||
ret = ' '
|
||||
ret[-6..-1] = "helloó"
|
||||
assert_equal 34, ret.length
|
||||
|
||||
Reference in New Issue
Block a user