mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
test/t/vformat.rb: fix encoding error; should have been UTF-8
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ assert('mrb_vformat') do
|
||||
assert_match '#<Class:#<Class:#<Hash:0x*>>>', vf.v('%t', sclass({}))
|
||||
assert_equal 'string and length', vf.l('string %l length', 'andante', 3)
|
||||
assert_equal '`n`: sym', vf.n('`n`: %n', :sym)
|
||||
assert_equal '%Cʸ»úÎó¯÷%', vf.s('%s', '%Cʸ»úÎó¯÷%')
|
||||
assert_equal '%C文字列%', vf.s('%s', '%C文字列%')
|
||||
assert_equal '`C`: Kernel module', vf.C('`C`: %C module', Kernel)
|
||||
assert_equal '`C`: NilClass', vf.C('`C`: %C', nil.class)
|
||||
assert_match '#<Class:#<String:0x*>>', vf.C('%C', sclass(""))
|
||||
|
||||
Reference in New Issue
Block a user