[ruby-cvs:64166] mrkn:r57000 (trunk): numeric.c: fix exception message for nil rounding

mrkn at ruby-lang.org mrkn at ruby-lang.org
Tue Dec 6 21:54:19 JST 2016


mrkn	2016-12-06 21:54:19 +0900 (Tue, 06 Dec 2016)

  New Revision: 57000

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57000

  Log:
    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.

  Modified files:
    trunk/numeric.c
    trunk/test/ruby/test_float.rb


More information about the ruby-cvs mailing list