diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 13:32:01 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 13:32:01 +0000 |
commit | 3af77267dc2a7a0d7963c70cf01c185afe92f20e (patch) | |
tree | 308b8d49e496f1d23c5c2ee5c892ff762f31d203 | |
parent | 1e870e105c4db1dcbdf6c10ed80dc01b7c781dd6 (diff) | |
download | ruby-3af77267dc2a7a0d7963c70cf01c185afe92f20e.tar.gz ruby-3af77267dc2a7a0d7963c70cf01c185afe92f20e.tar.xz ruby-3af77267dc2a7a0d7963c70cf01c185afe92f20e.zip |
* test/ruby/test_clone.rb: fix to current spec
(Module should not be occur many times in ancestors).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_clone.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Feb 8 22:31:45 2007 Koichi Sasada <ko1@atdot.net> + + * test/ruby/test_clone.rb: fix to current spec + (Module should not be occur many times in ancestors). + Thu Feb 8 22:26:14 2007 Koichi Sasada <ko1@atdot.net> * test/ruby/test_string.rb: ("foo" == :foo) and ("foo" === :foo) diff --git a/test/ruby/test_clone.rb b/test/ruby/test_clone.rb index 67d79fb8a..43c0cffa1 100644 --- a/test/ruby/test_clone.rb +++ b/test/ruby/test_clone.rb @@ -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 |