зеркало из https://github.com/github/ruby.git
* 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:
Родитель
4b1a1f7701
Коммит
55400cb80f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче