diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-02 08:07:28 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-02 08:07:28 +0000 |
commit | faeed9b54c7b4085d0c6018d27afe5d755a8eb27 (patch) | |
tree | b3cda042f906c38e214641dc9b77e7aebb898da4 /test | |
parent | 0672c5fc3212a7b423eb35f706ee75c72632a376 (diff) |
merges r29495 from trunk into ruby_1_9_2.
--
* ext/win32ole/win32ole.c (reg_get_val): expand environment in
the pathname. [Bug #3907]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/win32ole/test_win32ole_typelib.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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) |