aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-18 02:05:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-18 02:05:30 +0000
commitf6ffe07159254e925d3f89f8460ceda62000b6e2 (patch)
treed41d2a6d05045ac819d45df2814719139c5c6e74
parenta191ac36220bba54b1e280ac62f8fa8696d1bb46 (diff)
downloadruby-f6ffe07159254e925d3f89f8460ceda62000b6e2.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
-rw-r--r--test/win32ole/test_win32ole_variant.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/win32ole/test_win32ole_variant.rb b/test/win32ole/test_win32ole_variant.rb
index 0d27aae..390534b 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