1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2012-07-18 14:20:09 +00:00
parent 7624e5d36c
commit 68a01f9cdf

View file

@ -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