[前][次][番号順一覧][スレッド一覧]

ruby-changes:21064

From: mrkn <ko1@a...>
Date: Mon, 29 Aug 2011 23:24:43 +0900 (JST)
Subject: [ruby-changes:21064] mrkn:r33113 (trunk): * test/ruby/test_numeric.rb (test_num2long): modify a test agaist the

mrkn	2011-08-29 23:24:31 +0900 (Mon, 29 Aug 2011)

  New Revision: 33113

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33113

  Log:
    * test/ruby/test_numeric.rb (test_num2long): modify a test agaist the
      change by r33108.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_numeric.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33112)
+++ ChangeLog	(revision 33113)
@@ -1,3 +1,8 @@
+Sun Aug 29 23:22:00 2011  Kenta Murata  <mrkn@m...>
+
+	* test/ruby/test_numeric.rb (test_num2long): modify a test agaist the
+	  change by r33108.
+
 Sun Aug 29 09:58:00 2011  Kenta Murata  <mrkn@m...>
 
 	* numeric.c (bit_coerce): A Fixnum and a Bignum are only permitted for
Index: test/ruby/test_numeric.rb
===================================================================
--- test/ruby/test_numeric.rb	(revision 33112)
+++ test/ruby/test_numeric.rb	(revision 33113)
@@ -224,7 +224,7 @@
     assert_raise(TypeError) { 1 & 9223372036854777856.0 }
     o = Object.new
     def o.to_int; 1; end
-    assert_equal(1, 1 & o)
+    assert_raise(TypeError) { assert_equal(1, 1 & o) }
   end
 
   def test_eql

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]