mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* test/lib/test/unit/assertions.rb (assert_fixnum): Defined.
|
||||
|
|
|
@ -519,7 +519,7 @@ class TestModule < Test::Unit::TestCase
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue