diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-23 14:47:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-23 14:47:31 +0000 |
commit | dd871fb13976f2ea711c30f2b164e3173347f5ca (patch) | |
tree | 5eb77d935a0c05e006ec6dc7a001cd7b2f817f85 /test | |
parent | d24522e5e9692d7f5de321139b2f6755889a00f5 (diff) | |
download | ruby-dd871fb13976f2ea711c30f2b164e3173347f5ca.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit/assertions.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index 56f6ae5337..94248d1139 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -513,6 +513,7 @@ EOT RubyVM::InstructionSequence.compile(src, fname, fname, line) end assert_match(error, e.message, mesg) + e end end |