aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 03:35:52 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 03:35:52 +0000
commitb53d96d83b01c33432e26ffc9bcad8bc59b73aa3 (patch)
treebd3052acbd4a7bfe051ce47babd18624e3dfc127 /test
parent9804ee31875d8ace53a3fa4dbd1991420e7ffd14 (diff)
downloadruby-b53d96d83b01c33432e26ffc9bcad8bc59b73aa3.tar.gz
* test/ruby/test_refinement.rb (test_inspect): Use Integer instead of Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_refinement.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb
index 60d0c9a7d2..29c5f631f4 100644
--- a/test/ruby/test_refinement.rb
+++ b/test/ruby/test_refinement.rb
@@ -446,13 +446,13 @@ class TestRefinement < Test::Unit::TestCase
module Inspect
module M
- Fixnum = refine(Fixnum) {}
+ Integer = refine(Integer) {}
end
end
def test_inspect
- assert_equal("#<refinement:Fixnum@TestRefinement::Inspect::M>",
- Inspect::M::Fixnum.inspect)
+ assert_equal("#<refinement:Integer@TestRefinement::Inspect::M>",
+ Inspect::M::Integer.inspect)
end
def test_using_method_cache