summaryrefslogtreecommitdiff
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-10 02:50:57 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-10 02:50:57 (GMT)
commitf9e4651039f2095f9c9aec00edcabfcd9b3d01db (patch)
tree41aaa1b4ce4f218cab3848aded2fad09d2745a2c /KNOWNBUGS.rb
parentbb87365711b20d23f7a5622242f5dbee4d2a4200 (diff)
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
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index b97a08d..4a1ea23 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -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}')