mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fixed garbled characters; ref #5041
This commit is contained in:
@@ -12,7 +12,7 @@ assert 'ObjectSpace.memsize_of' do
|
||||
assert_not_equal ObjectSpace.memsize_of('a'), 0, 'memsize of str'
|
||||
|
||||
if __ENCODING__ == "UTF-8"
|
||||
assert_not_equal ObjectSpace.memsize_of("縺薙s縺ォ縺。縺ッ荳也阜"), 0, 'memsize of utf8 str'
|
||||
assert_not_equal ObjectSpace.memsize_of("こんにちは世界"), 0, 'memsize of utf8 str'
|
||||
end
|
||||
|
||||
# class defs
|
||||
|
||||
Reference in New Issue
Block a user