mirror of
https://github.com/ruby/ruby.git
synced 2025-09-23 20:44:00 +02:00
* 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
This commit is contained in:
parent
6ed8d39de0
commit
91f209816f
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue