summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-12 21:55:00 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-11-12 21:55:00 -0800
commitc0735d1d72aeeed777a233831c6a5208edadc2dc (patch)
tree515ea6e5b000cff95c8ca032592259fddbb26137 /spec
parentd1f55dea864f1ab819bc8332476ae2824c5d0302 (diff)
Fix a CI failure in bigdecimal
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/library/bigdecimal/round_spec.rb2
1 files changed, 1 insertions, 1 deletions
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