test_name use Integer instead of Fixnum.
* test/ruby/test_module.rb (test_name): Use Integer instead of Fixnum. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ea4824508
commit
76be3f22c7
@ -1,3 +1,7 @@
|
|||||||
|
Mon May 2 01:15:01 2016 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* test/ruby/test_module.rb (test_name): Use Integer instead of Fixnum.
|
||||||
|
|
||||||
Mon May 2 01:00:04 2016 Tanaka Akira <akr@fsij.org>
|
Mon May 2 01:00:04 2016 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/lib/test/unit/assertions.rb (assert_fixnum): Defined.
|
* test/lib/test/unit/assertions.rb (assert_fixnum): Defined.
|
||||||
|
@ -519,7 +519,7 @@ class TestModule < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_name
|
def test_name
|
||||||
assert_equal("Fixnum", Fixnum.name)
|
assert_equal("Integer", Integer.name)
|
||||||
assert_equal("TestModule::Mixin", Mixin.name)
|
assert_equal("TestModule::Mixin", Mixin.name)
|
||||||
assert_equal("TestModule::User", User.name)
|
assert_equal("TestModule::User", User.name)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user