Skip to content

Commit 7dea45f

Browse files
committed
Use -W:strict_unused_block when running tests on Ruby 3.4+
No changes needed to the code.
1 parent feda183 commit 7dea45f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ end
1212

1313
desc "Run specs"
1414
task :spec do
15-
sh %{#{FileUtils::RUBY} #{"-w" if RUBY_VERSION >= '3'} spec/all.rb}
15+
sh %{#{FileUtils::RUBY} #{"-w" if RUBY_VERSION >= '3'} #{'-W:strict_unused_block' if RUBY_VERSION >= '3.4'} spec/all.rb}
1616
end
1717

1818
desc "Run specs with coverage"

0 commit comments

Comments
 (0)