diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-30 17:47:43 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-30 17:47:43 +0000 |
commit | 35acb55610d44a03d9c5c6c8671725e3d064b02a (patch) | |
tree | 1e565dbb7bcb260ad898c63679d5e9cffd2e4cd3 /test | |
parent | 9655682b5dd174c6e4e33622c2cf3c54a888d5b0 (diff) | |
download | ruby-35acb55610d44a03d9c5c6c8671725e3d064b02a.tar.gz |
* 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
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 6b7c0da4a2..64ea4f7488 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -534,7 +534,7 @@ class TestModule < Test::Unit::TestCase 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) |