ruby-changes:46562
From: usa <ko1@a...>
Date: Fri, 12 May 2017 17:45:27 +0900 (JST)
Subject: [ruby-changes:46562] usa:r58677 (trunk): The title of "Desktop" may be localized
usa 2017-05-12 17:45:20 +0900 (Fri, 12 May 2017) New Revision: 58677 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58677 Log: The title of "Desktop" may be localized * spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb: the title of "Desktop" may be localized. then, use "System32" because it seems not to be localized. Modified files: trunk/spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb Index: spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb =================================================================== --- spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb (revision 58676) +++ spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb (revision 58677) @@ -15,7 +15,7 @@ platform_is :windows do https://github.com/ruby/ruby/blob/trunk/spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb#L15 end it "dispatches the method bound to a specific ID" do - @shell._invoke(0x60020002, [0], [WIN32OLE::VARIANT::VT_VARIANT]).title.should =~ /Desktop/i + @shell._invoke(0x60020002, [37], [WIN32OLE::VARIANT::VT_VARIANT]).title.should =~ /System32/i end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/