[ruby/spec] Fixed missing should

This commit is contained in:
Nobuyoshi Nakada 2020-04-26 12:26:03 +09:00
parent b5174beae6
commit 7860277527
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -40,7 +40,7 @@ describe "BigDecimal#precs" do
it "returns the maximum number of significant digits as the second value" do
BigDecimal("3.14159").precs[1].should >= 6
BigDecimal('1').precs[1].should >= 1
BigDecimal('1' + '0' * 100).precs[1] >= 101
BigDecimal('1' + '0' * 100).precs[1].should >= 101
[@infinity, @infinity_neg, @nan, @zero, @zero_neg].each do |value|
value.precs[1].should >= 1
end