From a00a9a28fbbb1268fc6c3c50a695adadbf5be4f4 Mon Sep 17 00:00:00 2001 From: suke Date: Tue, 20 Nov 2012 12:34:21 +0000 Subject: * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types): IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob Park). [ruby-core:49580][Bug #7403] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ test/win32ole/test_win32ole_type.rb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 018b2d13a7..cfdd20748f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Nov 20 21:22:44 2012 Masaki Suketa + + * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types): + IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob + Park). [ruby-core:49580][Bug #7403] + Tue Nov 20 21:06:41 2012 Tadayoshi Funaba * complex.c: some improvements. diff --git a/test/win32ole/test_win32ole_type.rb b/test/win32ole/test_win32ole_type.rb index 8ecf2b2c27..5422352f04 100644 --- a/test/win32ole/test_win32ole_type.rb +++ b/test/win32ole/test_win32ole_type.rb @@ -173,7 +173,7 @@ if defined?(WIN32OLE_TYPE) ole_types = @ole_type.implemented_ole_types assert_instance_of(Array, ole_types) assert_equal(1, ole_types.size) - assert_match(/^IShellDispatch5{0,1}$/, ole_types[0].name) + assert_match(/^IShellDispatch\d{0,1}$/, ole_types[0].name) ie_otype = WIN32OLE_TYPE.new("Microsoft Internet Controls", "InternetExplorer") ole_types = ie_otype.implemented_ole_types -- cgit v1.2.3