Skip to content

Commit

Permalink
test_win32ole_event.rb: fix typo [ci skip]
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Sep 21, 2015
1 parent 6177abc commit d3b3eff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/win32ole/test_win32ole_event.rb
Expand Up @@ -21,7 +21,7 @@ def ado_installed?
installed
end

def swbemsink_avairable?
def swbemsink_available?
available = false
if defined?(WIN32OLE)
wmi = nil
Expand Down Expand Up @@ -50,7 +50,7 @@ def test_s_new_non_exist_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
Expand Down

0 comments on commit d3b3eff

Please sign in to comment.