From b1085abaeb5f19dd76ac5650c9c8ec50c1e4db02 Mon Sep 17 00:00:00 2001 From: suke Date: Thu, 14 Oct 2010 11:56:10 +0000 Subject: * ext/win32ole/win32ole.c (reg_get_val): expand environment in the pathname. [Bug #3907] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_win32ole_typelib.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/win32ole') diff --git a/test/win32ole/test_win32ole_typelib.rb b/test/win32ole/test_win32ole_typelib.rb index 389a5e6fea..09a7f32c88 100644 --- a/test/win32ole/test_win32ole_typelib.rb +++ b/test/win32ole/test_win32ole_typelib.rb @@ -46,6 +46,12 @@ if defined?(WIN32OLE_TYPELIB) } end + # #Bug:3907 [ruby-dev:42338] + def test_initialize_with_REG_EXPAND_SZ + tlib = WIN32OLE_TYPELIB.new("Disk Management Snap-In Object Library") + assert_instance_of(WIN32OLE_TYPELIB, tlib) + end + def test_guid tlib = WIN32OLE_TYPELIB.new("Microsoft Shell Controls And Automation") assert_equal("{50A7E9B0-70EF-11D1-B75A-00A0C90564FE}", tlib.guid) -- cgit v1.2.3