From 62cec32902b3d1cabdc68c12384ef1453862f53e Mon Sep 17 00:00:00 2001 From: suke Date: Sun, 5 Nov 2017 00:36:37 +0000 Subject: [PATCH] test/win32ole/test_win32ole_method.rb: remove redundant assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_ole_methods.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/win32ole/test_ole_methods.rb b/test/win32ole/test_ole_methods.rb index cb903566b9..fbade04e48 100644 --- a/test/win32ole/test_ole_methods.rb +++ b/test/win32ole/test_ole_methods.rb @@ -19,7 +19,6 @@ if defined?(WIN32OLE) x = @obj.ole_methods.select {|m| m.invoke_kind == 'PROPERTYPUTREF' } - assert(x.size > 0) assert_equal(1, x.size) assert_equal('Item', x[0].name) end @@ -28,7 +27,6 @@ if defined?(WIN32OLE) x = @obj.ole_put_methods.select {|m| m.invoke_kind == 'PROPERTYPUTREF' } - assert(x.size > 0) assert_equal(1, x.size) assert_equal('Item', x[0].name) end