Commit 7ad75a4a authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto

fix tests

parent d5f14507
...@@ -265,7 +265,7 @@ end ...@@ -265,7 +265,7 @@ end
assert('String#chop', '15.2.10.5.11') do assert('String#chop', '15.2.10.5.11') do
a = ''.chop a = ''.chop
b = 'あいう'.chop b = 'あいう'.chop
c = 'あ\nい'.chop.chop c = "あ\nい".chop.chop
assert_equal '', a assert_equal '', a
assert_equal 'あい', b assert_equal 'あい', b
...@@ -285,8 +285,8 @@ end ...@@ -285,8 +285,8 @@ end
assert('String#chop!', '15.2.10.5.12') do assert('String#chop!', '15.2.10.5.12') do
a = '' a = ''
b = 'あいうえ\n' b = "あいうえ\n"
c = 'あいうえ\n' c = "あいうえ\n"
a.chop! a.chop!
b.chop! b.chop!
......
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