summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2025-04-07 15:28:53 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2025-04-25 13:46:05 -0700
commitec3b48d3da437e3358f4b7ae1ae007741f4ccd7b (patch)
tree05e9e6b5c70441e3066e632ac3b5d5d3cc74dfd2 /test
parentf15d85f0864a68944d769c353e88543ce5775b31 (diff)
Deopt if iseq trace events are enabled
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_settracefunc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_settracefunc.rb b/test/ruby/test_settracefunc.rb
index fac6dd8185..55c07abbea 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -1999,7 +1999,7 @@ CODE
TracePoint.new(:c_call, &capture_events).enable{
c.new
}
- assert_equal [:c_call, :itself, :initialize], events[0]
+ assert_equal [:c_call, :itself, :initialize], events[1]
events.clear
o = Class.new{