mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 53433: [Backport #12668]
test_ostruct.rb: sort method names * test/ostruct/test_ostruct.rb (test_accessor_defines_method): should not depend on the order of methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a9e98cf7d4
commit
0b8b3a8296
2 changed files with 4 additions and 4 deletions
|
|
@ -170,7 +170,7 @@ class TC_OpenStruct < Test::Unit::TestCase
|
|||
assert os.respond_to? :foo
|
||||
assert_equal([], os.singleton_methods)
|
||||
assert_equal(42, os.foo)
|
||||
assert_equal([:foo, :foo=], os.singleton_methods)
|
||||
assert_equal([:foo, :foo=], os.singleton_methods.sort)
|
||||
end
|
||||
|
||||
def test_does_not_redefine
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#define RUBY_VERSION "2.3.2"
|
||||
#define RUBY_RELEASE_DATE "2016-08-18"
|
||||
#define RUBY_PATCHLEVEL 173
|
||||
#define RUBY_RELEASE_DATE "2016-08-21"
|
||||
#define RUBY_PATCHLEVEL 174
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2016
|
||||
#define RUBY_RELEASE_MONTH 8
|
||||
#define RUBY_RELEASE_DAY 18
|
||||
#define RUBY_RELEASE_DAY 21
|
||||
|
||||
#include "ruby/version.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue