Skip to content

Commit

Permalink
[ruby/spec] Fixed missing should
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Apr 26, 2020
1 parent b5174be commit 7860277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/library/bigdecimal/precs_spec.rb
Expand Up @@ -40,7 +40,7 @@
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
Expand Down

0 comments on commit 7860277

Please sign in to comment.