summaryrefslogtreecommitdiff
path: root/test/win32ole/test_win32ole_variant_outarg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/win32ole/test_win32ole_variant_outarg.rb')
-rw-r--r--test/win32ole/test_win32ole_variant_outarg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole_variant_outarg.rb b/test/win32ole/test_win32ole_variant_outarg.rb
index 560af10106..ffc8e067bd 100644
--- a/test/win32ole/test_win32ole_variant_outarg.rb
+++ b/test/win32ole/test_win32ole_variant_outarg.rb
@@ -46,7 +46,7 @@ if defined?(WIN32OLE_VARIANT)
sql = "INSERT INTO data.csv VALUES (5, 'E')"
@db.execute(sql, -1)
c = WIN32OLE::ARGV[1]
- assert_equal(1, WIN32OLE::ARGV[1])
+ assert_equal(1, c)
obj = WIN32OLE_VARIANT.new(nil, WIN32OLE::VARIANT::VT_VARIANT|WIN32OLE::VARIANT::VT_BYREF)
assert_equal(nil, obj.value)
@db.execute(sql , obj)