summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2026-01-02 12:33:34 +0100
committerJean Boussier <jean.boussier@gmail.com>2026-01-03 00:07:44 +0100
commit16feb46fa27fdbdec4f7a0914787300b77fa232a (patch)
treec68b636e839ee88896d851ded65fb965c747bcaf /test
parente7695ba3d9f0e8ee17025af4d42ecaf2dad47f29 (diff)
Convert Queue and SizedQueue to rb builtin
A large part of `thread_sync.c` was migrated already, might as well go all the way. It also allow to remove a bunch of Rdoc commands.
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 776534a2b5..d3b2441e21 100644
--- a/test/ruby/test_settracefunc.rb
+++ b/test/ruby/test_settracefunc.rb
@@ -2226,7 +2226,7 @@ CODE
def test_thread_add_trace_func
events = []
base_line = __LINE__
- q = Thread::Queue.new
+ q = []
t = Thread.new{
Thread.current.add_trace_func proc{|ev, file, line, *args|
events << [ev, line] if file == __FILE__