summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-31 16:29:47 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-31 16:29:47 +0900
commit0009239f29039f5f4534eb56c1f8a907b28d744c (patch)
treed3c0ae389163cb8c11dfa4000e4565858f5fa0f7 /test
parentc7f540ed6721b735815af8eee5a69b22b6142b50 (diff)
downloadmruby-0009239f29039f5f4534eb56c1f8a907b28d744c.tar.gz
mruby-0009239f29039f5f4534eb56c1f8a907b28d744c.zip
reimplement String#chomp
Diffstat (limited to 'test')
-rw-r--r--test/t/string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index 76df18aaf..f38790c17 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -85,7 +85,7 @@ assert('String#chomp', '15.2.10.5.9') do
d == "abc\n" and e == 'abc' and f == "abc\n"
end
-assert('String#chomp', '15.2.10.5.10') do
+assert('String#chomp!', '15.2.10.5.10') do
a = 'abc'
b = ''
c = "abc\n"