From 13acf12df503dc3b83a8ada6ee41f7c1c6359540 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 11 Nov 2024 23:52:58 +0900 Subject: [PATCH] test/t/vformat.rb: fix encoding error; should have been UTF-8 --- test/t/vformat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t/vformat.rb b/test/t/vformat.rb index f87d4d7b8..dbf0114d3 100644 --- a/test/t/vformat.rb +++ b/test/t/vformat.rb @@ -21,7 +21,7 @@ assert('mrb_vformat') do assert_match '#>>', 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 '#>', vf.C('%C', sclass(""))