mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
KNOWNBUGS.rb: exceptions in event hooks
* KNOWNBUGS.rb: add tests for exceptions in event hooks, which were discarded in 1.8 but passed through in 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bb87365711
commit
f9e4651039
1 changed files with 2 additions and 0 deletions
|
@ -3,3 +3,5 @@
|
|||
# So all tests will cause failure.
|
||||
#
|
||||
|
||||
assert_equal('ok', "TracePoint.new(:line) {raise}.enable {\n 1\n}\n'ok'")
|
||||
assert_finish(3, 'def m; end; TracePoint.new(:return) {raise}.enable {m}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue