From 2bedfc66271c63b9c92423e7cd2e18993778f358 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 May 2016 02:05:30 +0000 Subject: [PATCH] test/win32ole/test_win32ole_variant.rb: use other than Integer git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_win32ole_variant.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/win32ole/test_win32ole_variant.rb b/test/win32ole/test_win32ole_variant.rb index 0d27aae5ed..390534b5e1 100644 --- a/test/win32ole/test_win32ole_variant.rb +++ b/test/win32ole/test_win32ole_variant.rb @@ -523,9 +523,9 @@ if defined?(WIN32OLE_VARIANT) 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