Skip to content

Commit f392125

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

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
@@ -2,7 +2,7 @@ task default: :spec
22

33
desc "Run specs"
44
task "spec" do
5-
sh "#{FileUtils::RUBY} -w spec/all.rb"
5+
sh "#{FileUtils::RUBY} -w #{'-W:strict_unused_block' if RUBY_VERSION >= '3.4'} spec/all.rb"
66
end
77

88
desc "Run specs with coverage"

0 commit comments

Comments
 (0)