* 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
This commit is contained in:
parent
4b1a1f7701
commit
55400cb80f
@ -64,7 +64,7 @@ if defined?(WIN32OLE)
|
|||||||
# is found in context menu,
|
# is found in context menu,
|
||||||
if @shortcut
|
if @shortcut
|
||||||
links = find_link(@dummy_path)
|
links = find_link(@dummy_path)
|
||||||
assert(0, links.size)
|
assert_equal(0, links.size)
|
||||||
|
|
||||||
# Now create shortcut to @dummy_path
|
# Now create shortcut to @dummy_path
|
||||||
arg = WIN32OLE_VARIANT.new(@shortcut)
|
arg = WIN32OLE_VARIANT.new(@shortcut)
|
||||||
@ -72,7 +72,7 @@ if defined?(WIN32OLE)
|
|||||||
|
|
||||||
# Now search shortcut to @dummy_path
|
# Now search shortcut to @dummy_path
|
||||||
links = find_link(@dummy_path)
|
links = find_link(@dummy_path)
|
||||||
assert(1, links.size)
|
assert_equal(1, links.size)
|
||||||
@lpath = links[0].path
|
@lpath = links[0].path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user