From c0735d1d72aeeed777a233831c6a5208edadc2dc Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 12 Nov 2022 21:55:00 -0800 Subject: [PATCH] Fix a CI failure in bigdecimal --- spec/ruby/library/bigdecimal/round_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/library/bigdecimal/round_spec.rb b/spec/ruby/library/bigdecimal/round_spec.rb index 501a1a7342..caf68afa04 100644 --- a/spec/ruby/library/bigdecimal/round_spec.rb +++ b/spec/ruby/library/bigdecimal/round_spec.rb @@ -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