diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-03-10 11:54:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-03-10 11:54:59 +0900 |
commit | 0a466e30726a259907bb6f73557faa22d89545ee (patch) | |
tree | c8b60f70cde26aa1599a52faa1c5032bb248f734 /test/ruby/test_thread_queue.rb | |
parent | 69465df4242f3b2d8e55fbe18d7c45b47b40a626 (diff) |
Remove stale tests
These tests were added at a198bb3929a4562a12b4aa245a297c7d3695149f,
when these classes were `Struct`s. Since these classes have been
rewritten, these tests no longer make sense.
Diffstat (limited to 'test/ruby/test_thread_queue.rb')
-rw-r--r-- | test/ruby/test_thread_queue.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/ruby/test_thread_queue.rb b/test/ruby/test_thread_queue.rb index 723450ad23..16a0490556 100644 --- a/test/ruby/test_thread_queue.rb +++ b/test/ruby/test_thread_queue.rb @@ -7,18 +7,6 @@ class TestThreadQueue < Test::Unit::TestCase Queue = Thread::Queue SizedQueue = Thread::SizedQueue - def test_queue_initialized - assert_raise(TypeError) { - Queue.allocate.push(nil) - } - end - - def test_sized_queue_initialized - assert_raise(TypeError) { - SizedQueue.allocate.push(nil) - } - end - def test_queue grind(5, 1000, 15, Queue) end |