ruby-changes:46344
From: nobu <ko1@a...>
Date: Sun, 23 Apr 2017 23:47:37 +0900 (JST)
Subject: [ruby-changes:46344] nobu:r58458 (trunk): assert_syntax_error returns the exception [ci skip]
nobu 2017-04-23 23:47:31 +0900 (Sun, 23 Apr 2017) New Revision: 58458 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58458 Log: assert_syntax_error returns the exception [ci skip] Modified files: trunk/test/lib/test/unit/assertions.rb Index: test/lib/test/unit/assertions.rb =================================================================== --- test/lib/test/unit/assertions.rb (revision 58457) +++ test/lib/test/unit/assertions.rb (revision 58458) @@ -513,6 +513,7 @@ EOT https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit/assertions.rb#L513 RubyVM::InstructionSequence.compile(src, fname, fname, line) end assert_match(error, e.message, mesg) + e end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/