1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_win32ole_event.rb: fix typo [ci skip]

* test/win32ole/test_win32ole_event.rb: fix typo.
  swbemsink_avairable? => swbemsink_available?  [Fix GH-1025]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-09-21 11:53:41 +00:00
parent 6177abcbf0
commit d3b3eff1a9
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Sep 21 20:53:39 2015 tbpgr <tbpgr@tbpgr.jp>
* test/win32ole/test_win32ole_event.rb: fix typo.
swbemsink_avairable? => swbemsink_available? [Fix GH-1025]
Sun Sep 20 10:07:35 2015 Anton Davydov <antondavydov.o@gmail.com>
* cont.c (rb_callcc): [DOC] append continuations example accros

View file

@ -21,7 +21,7 @@ def ado_installed?
installed
end
def swbemsink_avairable?
def swbemsink_available?
available = false
if defined?(WIN32OLE)
wmi = nil
@ -50,7 +50,7 @@ if defined?(WIN32OLE_EVENT)
end
class TestWIN32OLE_EVENT_SWbemSink < Test::Unit::TestCase
unless swbemsink_avairable?
unless swbemsink_available?
def test_dummy_for_skip_message
skip "'WbemScripting.SWbemSink' is not available"
end