aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--test/ruby/test_module.rb2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b16181c1d..a44ab6c6e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Thu Dec 31 02:45:12 2015 NARUSE, Yui <naruse@ruby-lang.org>
+
+ * 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@gmail.com>
* common.mk (help): Fix typo.
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)