ruby-changes:42972
From: nobu <ko1@a...>
Date: Wed, 18 May 2016 11:05:35 +0900 (JST)
Subject: [ruby-changes:42972] nobu:r55046 (trunk): test/win32ole/test_win32ole_variant.rb: use other than Integer
nobu 2016-05-18 11:05:30 +0900 (Wed, 18 May 2016) New Revision: 55046 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55046 Log: test/win32ole/test_win32ole_variant.rb: use other than Integer Modified files: trunk/test/win32ole/test_win32ole_variant.rb Index: test/win32ole/test_win32ole_variant.rb =================================================================== --- test/win32ole/test_win32ole_variant.rb (revision 55045) +++ test/win32ole/test_win32ole_variant.rb (revision 55046) @@ -523,9 +523,9 @@ if defined?(WIN32OLE_VARIANT) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_variant.rb#L523 def test_create_vt_array_exc exc = assert_raise(TypeError) { - WIN32OLE_VARIANT.new(1, WIN32OLE::VARIANT::VT_ARRAY); + WIN32OLE_VARIANT.new("", WIN32OLE::VARIANT::VT_ARRAY) } - assert_match(/wrong argument type Fixnum \(expected Array\)/, exc.message) + assert_match(/wrong argument type String \(expected Array\)/, exc.message) end def test_create_vt_array_str2ui1array -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/