diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-04 07:41:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-04 07:41:32 +0000 |
commit | b80f16780893e4a8f51070a83dcab2dc8cdea53c (patch) | |
tree | 3fb7a3597dd8f379bdccc3c0f7b16cb13b082102 /test | |
parent | a7f72ed770d7d1e67c0b6cb7f95836813abe9988 (diff) | |
download | ruby-b80f16780893e4a8f51070a83dcab2dc8cdea53c.tar.gz |
* test/ruby/test_module.rb: should not expect a method table ordering.
[Feature #11414]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_module.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 812b7f6a31..18db88f04a 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -1114,13 +1114,13 @@ class TestModule < Test::Unit::TestCase assert_equal [:f], memo.shift, '[ruby-core:25536]' assert_equal mod.instance_method(:f), memo.shift assert_equal :g, memo.shift - assert_equal [:f, :g], memo.shift + assert_equal [:f, :g].sort, memo.shift.sort assert_equal mod.instance_method(:f), memo.shift assert_equal :a, memo.shift - assert_equal [:f, :g, :a], memo.shift + assert_equal [:f, :g, :a].sort, memo.shift.sort assert_equal mod.instance_method(:a), memo.shift assert_equal :a=, memo.shift - assert_equal [:f, :g, :a, :a=], memo.shift + assert_equal [:f, :g, :a, :a=].sort, memo.shift.sort assert_equal mod.instance_method(:a=), memo.shift end |