clarify asserts to UTF-8 test suites; ref #2971

parent 0a94c69c
# coding: utf-8
##
# String ISO Test
......@@ -262,7 +263,7 @@ assert('String#chop', '15.2.10.5.11') do
assert_equal 'abc', c
end
assert('String#chop', '15.2.10.5.11') do
assert('String#chop(UTF-8)', '15.2.10.5.11') do
a = ''.chop
b = 'あいう'.chop
c = "あ\nい".chop.chop
......@@ -283,7 +284,7 @@ assert('String#chop!', '15.2.10.5.12') do
assert_equal b, 'ab'
end
assert('String#chop!', '15.2.10.5.12') do
assert('String#chop!(UTF-8)', '15.2.10.5.12') do
a = ''
b = "あいうえ\n"
c = "あいうえ\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment