From c56fa0e2b7e50b7a3a51d8c844257e0f34653011 Mon Sep 17 00:00:00 2001 From: headius Date: Mon, 14 Nov 2016 19:27:24 +0000 Subject: * test/ruby/test_module.rb: Method tables are not guaranteed to be ordered. * test/ruby/test_struct.rb: Ditto. * test/ruby/test_thread.rb: Thread locals are not guaranteed to be ordered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_struct.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_struct.rb') diff --git a/test/ruby/test_struct.rb b/test/ruby/test_struct.rb index 9047e81bbe..573f65d0b9 100644 --- a/test/ruby/test_struct.rb +++ b/test/ruby/test_struct.rb @@ -147,7 +147,7 @@ module TestStruct assert_equal("#", o.inspect) methods = klass.instance_methods(false) - assert_equal([:@a, :"@a="].inspect, methods.inspect, '[Bug #8756]') + assert_equal([:@a, :"@a="].sort.inspect, methods.sort.inspect, '[Bug #8756]') assert_include(methods, :@a) assert_include(methods, :"@a=") end -- cgit v1.2.3