From 68a01f9cdfa90dc0195b472c0ac49c8d6d8dfbad Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Jul 2012 14:20:09 +0000 Subject: [PATCH] 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 --- test/ruby/test_syntax.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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