diff options
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 516014ac25..e0c61c66f5 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -1050,7 +1050,7 @@ q.pop end def test_thread_name - t = Thread.start {} + t = Thread.start {sleep} assert_nil t.name s = t.inspect t.name = 'foo' |