Check ArgumentError and Warnings with Ruby 3.3 and 3.4

This commit is contained in:
Hiroshi SHIBATA 2024-12-24 16:05:57 +09:00
parent 9967eccc54
commit a0460af920
Notes: git 2024-12-25 11:10:37 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ ruby_version_is ""..."3.5" do
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)")

View File

@ -16,7 +16,7 @@ ruby_version_is ""..."3.5" do
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)")