From fd9134e5e742a6c7a224ff719594a5ade6d0cd77 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 25 Dec 2012 13:33:40 +0000 Subject: * KNOWNBUGS.rb: if an exception is raised in hooks, need to raise the exception in the hooked context. it's 1.8's behavior. see r38601 in trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- KNOWNBUGS.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'KNOWNBUGS.rb') diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index 9bd0227923..e89c8d48ba 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -3,5 +3,5 @@ # So all tests will cause failure. # -assert_equal('ok', "set_trace_func(proc{|t,|raise if t == 'line'})\n""1\n'ok'") +assert_equal('', "set_trace_func(proc{|t,|raise if t == 'line'})\n""1\n'ok'") assert_finish(3, "def m; end\n""set_trace_func(proc{|t,|raise if t == 'return'})\n""m") -- cgit v1.2.3