mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_clone.rb: fix to current spec
(Module should not be occur many times in ancestors). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0abd3c4b1
commit
9e24950816
2 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,6 @@ class TestClone < Test::Unit::TestCase
|
|||
|
||||
assert_raises(NoMethodError) {foo.test2}
|
||||
|
||||
assert_equal([M003, M002, M001, M002], M003.ancestors)
|
||||
assert_equal([M003, M002, M001], M003.ancestors)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue