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

assert_syntax_error returns the exception [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-04-23 14:47:31 +00:00
parent 0ae219f0e1
commit 8284de591f

View file

@ -513,6 +513,7 @@ EOT
RubyVM::InstructionSequence.compile(src, fname, fname, line)
end
assert_match(error, e.message, mesg)
e
end
end