aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 10:07:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 10:07:22 +0000
commitdb1f7079b6ff3c7227f20fc9c0743f9147bba2d2 (patch)
tree8db391210107f63c0a2df826c706eff1e789b208 /test/ruby/test_syntax.rb
parentacd82f6e24494ccced2fca81681c1beb1a5e0e58 (diff)
downloadruby-db1f7079b6ff3c7227f20fc9c0743f9147bba2d2.tar.gz
remove string literal concatenation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r--test/ruby/test_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 49522c42cd..eecc21e710 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -118,7 +118,7 @@ class TestSyntax < Test::Unit::TestCase
def test_warn_unreachable
assert_warn("test:3: warning: statement not reached\n") do
- code = "loop do\n" "break\n" "foo\n" "end"
+ code = "loop do\nbreak\nfoo\nend"
assert_valid_syntax(code, "test") {$VERBOSE = true}
end
end