Skip to content

Commit

Permalink
Check ArgumentError and Warnings with Ruby 3.3 and 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 25, 2024
1 parent 9967ecc commit a0460af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/ruby/core/process/status/bit_and_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end
end

ruby_version_is "3.3" do
ruby_version_is "3.3"..."3.5" do
it "raises an ArgumentError if mask is negative" do
suppress_warning do
ruby_exe("exit(0)")
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby/core/process/status/right_shift_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
end
end

ruby_version_is "3.3" do
ruby_version_is "3.3"..."3.5" do
it "raises an ArgumentError if shift value is negative" do
suppress_warning do
ruby_exe("exit(0)")
Expand Down

0 comments on commit a0460af

Please sign in to comment.