ruby-changes:4178
From: ko1@a...
Date: Sun, 2 Mar 2008 01:05:23 +0900 (JST)
Subject: [ruby-changes:4178] akr - Ruby:r15668 (trunk): add a test.
akr 2008-03-02 01:05:10 +0900 (Sun, 02 Mar 2008) New Revision: 15668 Modified files: trunk/test/ruby/test_float.rb Log: add a test. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_float.rb?r1=15668&r2=15667&diff_format=u Index: test/ruby/test_float.rb =================================================================== --- test/ruby/test_float.rb (revision 15667) +++ test/ruby/test_float.rb (revision 15668) @@ -83,6 +83,7 @@ assert_raise(ArgumentError){Float("1e")} assert_raise(ArgumentError){Float("1__1")} # add expected behaviour here. + assert_equal(10, Float("1_0")) end def test_divmod -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/