ruby-changes:41318
From: naruse <ko1@a...>
Date: Thu, 31 Dec 2015 02:47:49 +0900 (JST)
Subject: [ruby-changes:41318] naruse:r53390 (trunk): * test/ruby/test_module.rb (test_classpath): r53376 may change
naruse 2015-12-31 02:47:43 +0900 (Thu, 31 Dec 2015) New Revision: 53390 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53390 Log: * test/ruby/test_module.rb (test_classpath): r53376 may change the order of m.constants. `make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all` may fail after that. http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz Modified files: trunk/ChangeLog trunk/test/ruby/test_module.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 53389) +++ ChangeLog (revision 53390) @@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Dec 31 02:45:12 2015 NARUSE, Yui <naruse@r...> + + * test/ruby/test_module.rb (test_classpath): r53376 may change + the order of m.constants. + `make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all` + may fail after that. + http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz + Thu Dec 31 02:20:00 2015 Benoit Daloze <eregontp@g...> * common.mk (help): Fix typo. Index: test/ruby/test_module.rb =================================================================== --- test/ruby/test_module.rb (revision 53389) +++ test/ruby/test_module.rb (revision 53390) @@ -534,7 +534,7 @@ class TestModule < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L534 m.module_eval("module O end") assert_equal([:N, :O], m.constants) m.module_eval("class C; end") - assert_equal([:N, :O, :C], m.constants) + assert_equal([:C, :N, :O], m.constants.sort) assert_nil(m::N.name) assert_match(/\A#<Module:.*>::O\z/, m::O.name) assert_match(/\A#<Module:.*>::C\z/, m::C.name) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/