summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <[email protected]>2015-09-30 13:08:11 +0900
committerYasuhiro Matsumoto <[email protected]>2015-09-30 13:08:11 +0900
commit7ad75a4a19f9917bc555b53bffbc6e57b67f1f56 (patch)
tree83bcf64cdc35b2afea1f2ed02f310ba018fd90f9
parentd5f145076ce11ed4e47e11af065ee9e36bf5f369 (diff)
downloadmruby-7ad75a4a19f9917bc555b53bffbc6e57b67f1f56.tar.gz
mruby-7ad75a4a19f9917bc555b53bffbc6e57b67f1f56.zip
fix tests
-rw-r--r--test/t/string.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index dfb1b00e0..da75bdd84 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -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!