summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-23 07:15:49 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-23 07:15:49 +0000
commitdcb7270d7e2fb0036afcc421b63be32a7732a9a1 (patch)
tree7f6e4ca05ec337381bc48d371f14e37095d8669b /test/ruby
parent3127da3067b32cf2c4cfb37b5d0eec405344a3f7 (diff)
downloadruby-dcb7270d7e2fb0036afcc421b63be32a7732a9a1.tar.gz
ruby-dcb7270d7e2fb0036afcc421b63be32a7732a9a1.tar.xz
ruby-dcb7270d7e2fb0036afcc421b63be32a7732a9a1.zip
* parse.y (primary): fix lineno of rescue and ensure.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_settracefunc.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index 220c946ca..aa21812fa 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -71,13 +71,8 @@ class TestSetTraceFunc < Test::Unit::TestCase
events.shift) # when 3
assert_equal(["line", 20, :test_event, TestSetTraceFunc],
events.shift) # c = "b == 3"
-
- # 1.8
- # assert_equal(["line", 23, :test_event, TestSetTraceFunc],
- # events.shift) # begin
- assert_equal(["line", 24, :test_event, TestSetTraceFunc],
+ assert_equal(["line", 23, :test_event, TestSetTraceFunc],
events.shift) # begin
-
assert_equal(["line", 24, :test_event, TestSetTraceFunc],
events.shift) # raise "error"
assert_equal(["c-call", 24, :raise, Kernel],