[前][次][番号順一覧][スレッド一覧]

ruby-changes:39827

From: nobu <ko1@a...>
Date: Mon, 21 Sep 2015 20:54:03 +0900 (JST)
Subject: [ruby-changes:39827] nobu:r51908 (trunk): test_win32ole_event.rb: fix typo [ci skip]

nobu	2015-09-21 20:53:41 +0900 (Mon, 21 Sep 2015)

  New Revision: 51908

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51908

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

  Modified files:
    trunk/ChangeLog
    trunk/test/win32ole/test_win32ole_event.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51907)
+++ ChangeLog	(revision 51908)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Sep 21 20:53:39 2015  tbpgr  <tbpgr@t...>
+
+	* 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@g...>
 
 	* cont.c (rb_callcc): [DOC] append continuations example accros
Index: test/win32ole/test_win32ole_event.rb
===================================================================
--- test/win32ole/test_win32ole_event.rb	(revision 51907)
+++ test/win32ole/test_win32ole_event.rb	(revision 51908)
@@ -21,7 +21,7 @@ def ado_installed? https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_event.rb#L21
   installed
 end
 
-def swbemsink_avairable?
+def swbemsink_available?
   available = false
   if defined?(WIN32OLE)
     wmi = nil
@@ -50,7 +50,7 @@ if defined?(WIN32OLE_EVENT) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_event.rb#L50
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]