Fix a CI failure in bigdecimal

This commit is contained in:
Takashi Kokubun 2022-11-12 21:55:00 -08:00
parent d1f55dea86
commit c0735d1d72
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -229,6 +229,6 @@ describe "BigDecimal#round" do
end
it "raise for a non-existent round mode" do
-> { @p1_50.round(0, :nonsense) }.should raise_error(ArgumentError, "invalid rounding mode")
-> { @p1_50.round(0, :nonsense) }.should raise_error(ArgumentError, "invalid rounding mode (nonsense)")
end
end