summaryrefslogtreecommitdiff
path: root/test/win32ole/test_ole_methods.rb
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-05 00:36:37 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-05 00:36:37 +0000
commit62cec32902b3d1cabdc68c12384ef1453862f53e (patch)
tree1726e4c637f0d08bc7f18d24acf6a0aeeb8577d9 /test/win32ole/test_ole_methods.rb
parent8930a4257d5295886f4ad8b3a018a23bd89ae515 (diff)
downloadruby-62cec32902b3d1cabdc68c12384ef1453862f53e.tar.gz
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
Diffstat (limited to 'test/win32ole/test_ole_methods.rb')
-rw-r--r--test/win32ole/test_ole_methods.rb2
1 files changed, 0 insertions, 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