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

ruby-changes:42801

From: akr <ko1@a...>
Date: Mon, 2 May 2016 00:18:53 +0900 (JST)
Subject: [ruby-changes:42801] akr:r54875 (trunk): test_name use Integer instead of Fixnum.

akr	2016-05-02 01:15:29 +0900 (Mon, 02 May 2016)

  New Revision: 54875

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

  Log:
    test_name use Integer instead of Fixnum.
    
    * test/ruby/test_module.rb (test_name): Use Integer instead of Fixnum.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_module.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54874)
+++ ChangeLog	(revision 54875)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May  2 01:15:01 2016  Tanaka Akira  <akr@f...>
+
+	* test/ruby/test_module.rb (test_name): Use Integer instead of Fixnum.
+
 Mon May  2 01:00:04 2016  Tanaka Akira  <akr@f...>
 
 	* test/lib/test/unit/assertions.rb (assert_fixnum): Defined.
Index: test/ruby/test_module.rb
===================================================================
--- test/ruby/test_module.rb	(revision 54874)
+++ test/ruby/test_module.rb	(revision 54875)
@@ -519,7 +519,7 @@ class TestModule < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L519
   end
 
   def test_name
-    assert_equal("Fixnum", Fixnum.name)
+    assert_equal("Integer", Integer.name)
     assert_equal("TestModule::Mixin",  Mixin.name)
     assert_equal("TestModule::User",   User.name)
   end

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

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