1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

tracepointchecker.rb: needs TracePoint

* test/lib/tracepointchecker.rb: available only if TracePoint is
  available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-01-02 02:37:47 +00:00
parent 163ecb32e9
commit 6d65806f8b

View file

@ -109,10 +109,10 @@ module TracePointChecker
raise "trace #{trace} should not be deactivated" unless trace.enabled?
}
end
end
end if defined?(TracePoint)
class ::Test::Unit::TestCase
include TracePointChecker::ZombieTraceHunter
end
end if defined?(TracePoint)
# TracePointChecker.start verbose: false