summaryrefslogtreecommitdiffhomepage
path: root/test/t/string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/string.rb')
-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!