summaryrefslogtreecommitdiff
path: root/test/ruby/test_autoload.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 12:33:24 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 12:33:24 +0900
commit3120252f010b979b633f0757ea7e145ccdc224fd (patch)
tree8fa16def620d6155333cfff99f257c2f3268946c /test/ruby/test_autoload.rb
parentdc7da30bedd48d2ba38ce9cac05e378f0c823b50 (diff)
Suppress void context warning in verbose mode
Diffstat (limited to 'test/ruby/test_autoload.rb')
-rw-r--r--test/ruby/test_autoload.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_autoload.rb b/test/ruby/test_autoload.rb
index 0428e10525..3b013c12ae 100644
--- a/test/ruby/test_autoload.rb
+++ b/test/ruby/test_autoload.rb
@@ -304,7 +304,7 @@ p Foo::Bar
begin
thrs = []
3.times do
- thrs << Thread.new { AutoloadTest; nil }
+ thrs << Thread.new { AutoloadTest && nil }
thrs << Thread.new { fork { AutoloadTest } }
end
thrs.each(&:join)