aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_file.rb')
-rw-r--r--test/ruby/test_file.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index f5a00f9e17..bd0e502f5b 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -121,8 +121,8 @@ class TestFile < Test::Unit::TestCase
def test_truncate_size
Tempfile.create("test-truncate") do |f|
- q1 = Queue.new
- q2 = Queue.new
+ q1 = Thread::Queue.new
+ q2 = Thread::Queue.new
th = Thread.new do
data = ''