From 6f1c934bc361ec5d01a0b4b1a45d07840af02dc3 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 7 Nov 2006 08:56:18 +0000 Subject: * class.c (rb_include_module): revert duplicate inclusion of modules. [ruby-dev:29793] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample') diff --git a/sample/test.rb b/sample/test.rb index a32dbcbec2..aad5a094c3 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -1939,7 +1939,7 @@ module M003; include M002; end module M002; include M001; end module M003; include M002; end -test_ok(M003.ancestors == [M003, M002, M001, M002]) +test_ok(M003.ancestors == [M003, M002, M001]) test_check "marshal" $x = [1,2,3,[4,5,"foo"],{1=>"bar"},2.5,fact(30)] -- cgit v1.2.3