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:
parent
0ae219f0e1
commit
8284de591f
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ EOT
|
|||
RubyVM::InstructionSequence.compile(src, fname, fname, line)
|
||||
end
|
||||
assert_match(error, e.message, mesg)
|
||||
e
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue