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

ruby-changes:21099

From: naruse <ko1@a...>
Date: Thu, 1 Sep 2011 09:23:30 +0900 (JST)
Subject: [ruby-changes:21099] naruse:r33148 (trunk): Remove tests of json/add/{complex, rational}.

naruse	2011-09-01 09:23:20 +0900 (Thu, 01 Sep 2011)

  New Revision: 33148

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

  Log:
    Remove tests of json/add/{complex, rational}.

  Modified files:
    trunk/test/json/test_json_addition.rb

Index: test/json/test_json_addition.rb
===================================================================
--- test/json/test_json_addition.rb	(revision 33147)
+++ test/json/test_json_addition.rb	(revision 33148)
@@ -164,9 +164,4 @@
     d = DateTime.civil(2008, 6, 17, 11, 48, 32, Rational(12,24))
     assert_equal d, JSON.parse(d.to_json)
   end
-
-  def test_rational_complex
-    assert_equal Rational(2, 9), JSON(JSON(Rational(2, 9)))
-    assert_equal Complex(2, 9), JSON(JSON(Complex(2, 9)))
-  end
 end

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

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