From 7452d6d21366d9829cd0abe8f2df7147ba953a60 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Tue, 17 Dec 2024 16:52:16 -0800 Subject: [PATCH] Use -W:strict_unused_block when running tests on Ruby 3.4+ No changes needed to the code. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index d1ba37b..285a737 100644 --- a/Rakefile +++ b/Rakefile @@ -50,7 +50,7 @@ end desc "Run specs" task :spec do - sh "#{FileUtils::RUBY} #{'-w' if RUBY_VERSION >= '3'} spec/all.rb" + sh "#{FileUtils::RUBY} #{'-w' if RUBY_VERSION >= '3'} #{'-W:strict_unused_block' if RUBY_VERSION >= '3.4'} spec/all.rb" end task :default => :spec