summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 04:56:49 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 04:56:49 +0000
commitc7ab4f6dcb8473612226704b8a6060020145d159 (patch)
treea16bc4a673b27de20e2f3618cad1ca6f2e0cc8a1 /test
parent289dcb30b98688769644a9f000b577f96bd01594 (diff)
test/ruby/test_settracefunc.rb: fix NoMethodError
* test/ruby/test_settracefunc.rb (test_trace_point_raising_exception_in_bmethod_call): this test run in separate process, so #target_thread? is not defined and it doesn't need target thread check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_settracefunc.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index 51e5268735..b6ec2f14eb 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -1809,7 +1809,6 @@ class TestSetTraceFunc < Test::Unit::TestCase
define_method(:m) {}
tp = TracePoint.new(:call) do
- next unless target_thread?
raise ''
end