fix tests

This commit is contained in:
Yasuhiro Matsumoto
2015-09-30 13:08:11 +09:00
parent d5f145076c
commit 7ad75a4a19
+3 -3
View File
@@ -265,7 +265,7 @@ end
assert('String#chop', '15.2.10.5.11') do
a = ''.chop
b = 'あいう'.chop
c = 'あ\nい'.chop.chop
c = "\n".chop.chop
assert_equal '', a
assert_equal 'あい', b
@@ -285,8 +285,8 @@ end
assert('String#chop!', '15.2.10.5.12') do
a = ''
b = 'あいうえ\n'
c = 'あいうえ\n'
b = "あいうえ\n"
c = "あいうえ\n"
a.chop!
b.chop!