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:
parent
7624e5d36c
commit
68a01f9cdf
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue