diff options
author | headius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-14 19:27:24 +0000 |
---|---|---|
committer | headius <headius@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-14 19:27:24 +0000 |
commit | c56fa0e2b7e50b7a3a51d8c844257e0f34653011 (patch) | |
tree | 4ce2c18b360bfe7726e4bc5ff035814111871d13 /test/ruby/test_module.rb | |
parent | 9ec0f8b7cb49c538f2bed77ec1506d59119f4bf1 (diff) | |
download | ruby-c56fa0e2b7e50b7a3a51d8c844257e0f34653011.tar.gz |
* test/ruby/test_module.rb: Method tables are not guaranteed to be
ordered.
* test/ruby/test_struct.rb: Ditto.
* test/ruby/test_thread.rb: Thread locals are not guaranteed to be
ordered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r-- | test/ruby/test_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 0a11be46e3..d1c5d53822 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -455,7 +455,7 @@ class TestModule < Test::Unit::TestCase end def test_instance_methods - assert_equal([:user, :user2], User.instance_methods(false)) + assert_equal([:user, :user2], User.instance_methods(false).sort) assert_equal([:user, :user2, :mixin].sort, User.instance_methods(true).sort) assert_equal([:mixin], Mixin.instance_methods) assert_equal([:mixin], Mixin.instance_methods(true)) |