summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2019-12-04 21:02:21 -0500
committerGitHub <noreply@github.com>2019-12-04 21:02:21 -0500
commitdf76f2c577b6567b617be2df9451123cc450d1cc (patch)
tree949c39c14bcd629cd76545857b501a5635801db6 /test
parente4db0443bcfc94f9183e8ea72fb4ab560aa005bf (diff)
Make TracePoint.stat a singleton method again (#2726)
[Bug #16399]
Notes
Notes: Merged-By: XrXr
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_settracefunc.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index dba940b43e..316e14e1ef 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -2266,4 +2266,8 @@ class TestSetTraceFunc < Test::Unit::TestCase
bar
EOS
end
+
+ def test_stat_exists
+ assert_instance_of Hash, TracePoint.stat
+ end
end