diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-18 02:05:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-18 02:05:30 +0000 |
commit | 2bedfc66271c63b9c92423e7cd2e18993778f358 (patch) | |
tree | d41d2a6d05045ac819d45df2814719139c5c6e74 /test | |
parent | 6a69ab937c7e6584d311cd444615cc1cd5b5499b (diff) | |
download | ruby-2bedfc66271c63b9c92423e7cd2e18993778f358.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/win32ole/test_win32ole_variant.rb | 4 |
1 files 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 |