diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ostruct/test_ostruct.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb index 02c4c74152..85fdd66ccd 100644 --- a/test/ostruct/test_ostruct.rb +++ b/test/ostruct/test_ostruct.rb @@ -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 |