Project

General

Profile

« Previous | Next » 

Revision 0cb1a2b8

Added by Kenta Murata almost 9 years ago

numeric.c: fix exception message for nil rounding

  • numeric.c (rb_num_get_rounding_option): fix exception message
    for the case of nil rounding mode.

  • test_float.rb: add an assertion for the above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e