aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-18 14:20:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-18 14:20:09 +0000
commit68a01f9cdfa90dc0195b472c0ac49c8d6d8dfbad (patch)
tree1af6dfd5dad9624dfdd44e52906235da8300ee7c /test/ruby/test_syntax.rb
parent7624e5d36c3b812dad23aba2eb470641c3c59ad8 (diff)
downloadruby-68a01f9cdfa90dc0195b472c0ac49c8d6d8dfbad.tar.gz
test_syntax.rb: update
* test/ruby/test_syntax.rb (test_warn_grouped_expression): update for r36434. [ruby-core:39050][Bug #5214] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r--test/ruby/test_syntax.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 51e898f972..35c70254bf 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -110,7 +110,8 @@ class TestSyntax < Test::Unit::TestCase
end
def test_warn_grouped_expression
- assert_warn("test:2: warning: (...) interpreted as grouped expression\n") do
+ bug5214 = '[ruby-core:39050]'
+ assert_warn("", bug5214) do
assert_valid_syntax("foo \\\n(\n true)", "test") {$VERBOSE = true}
end
end