mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue