summaryrefslogtreecommitdiff
path: root/test/win32ole
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-19 09:03:51 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-19 09:03:51 +0000
commit55400cb80f0d965e8e0b20440472e876e6fa398d (patch)
tree62cd067be1086433b37a2b52ee8f0bd3198ef19d /test/win32ole
parent4b1a1f77013ad49bdb4eaf4ef95757474dc863d1 (diff)
* test/win32ole/test_folderitem2_invokeverb.rb (test_invokeverb): should use
assert_equal instead of assert in such cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/win32ole')
-rw-r--r--test/win32ole/test_folderitem2_invokeverb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/win32ole/test_folderitem2_invokeverb.rb b/test/win32ole/test_folderitem2_invokeverb.rb
index e5380ca..89da497 100644
--- a/test/win32ole/test_folderitem2_invokeverb.rb
+++ b/test/win32ole/test_folderitem2_invokeverb.rb
@@ -64,7 +64,7 @@ if defined?(WIN32OLE)
# is found in context menu,
if @shortcut
links = find_link(@dummy_path)
- assert(0, links.size)
+ assert_equal(0, links.size)
# Now create shortcut to @dummy_path
arg = WIN32OLE_VARIANT.new(@shortcut)
@@ -72,7 +72,7 @@ if defined?(WIN32OLE)
# Now search shortcut to @dummy_path
links = find_link(@dummy_path)
- assert(1, links.size)
+ assert_equal(1, links.size)
@lpath = links[0].path
end
end