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

ruby-changes:69934

From: Nobuyoshi <ko1@a...>
Date: Thu, 25 Nov 2021 23:56:18 +0900 (JST)
Subject: [ruby-changes:69934] ae95939784 (master): [ruby/win32ole] Fix typos [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=ae95939784

From ae9593978468b9d65892626bc72edad780c5bf88 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 3 Nov 2021 18:43:01 +0900
Subject: [ruby/win32ole] Fix typos [ci skip]

https://github.com/ruby/win32ole/commit/8d46bd0c93
---
 ext/win32ole/win32ole_method.c | 2 +-
 test/win32ole/test_win32ole.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/win32ole/win32ole_method.c b/ext/win32ole/win32ole_method.c
index bf668300c24..6ed5def6d77 100644
--- a/ext/win32ole/win32ole_method.c
+++ b/ext/win32ole/win32ole_method.c
@@ -437,7 +437,7 @@ ole_method_invoke_kind(ITypeInfo *pTypeInfo, UINT method_index) https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole_method.c#L437
 
 /*
  *   call-seq:
- *      WIN32OLE_MTHOD#invkind
+ *      WIN32OLE_METHOD#invkind
  *
  *   Returns the method invoke kind.
  *     tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbooks')
diff --git a/test/win32ole/test_win32ole.rb b/test/win32ole/test_win32ole.rb
index 39417805285..e5f9d35e249 100644
--- a/test/win32ole/test_win32ole.rb
+++ b/test/win32ole/test_win32ole.rb
@@ -101,7 +101,7 @@ if defined?(WIN32OLE) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole.rb#L101
       assert_include(mnames, 'Count')
     end
 
-    def test_ole_mehtod_help
+    def test_ole_method_help
       minfo = @dict1.ole_method_help("Add")
       assert_equal(2, minfo.size_params)
     end
-- 
cgit v1.2.1


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

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