aboutsummaryrefslogtreecommitdiffstats
path: root/test/win32ole
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-07 12:52:25 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-07 12:52:25 +0000
commit707ff7bfb715d7caa7766041cea8bad6e8ca43a0 (patch)
treeb8452a935a16a9b858528d0dc4f14d2b95fe7437 /test/win32ole
parentb618b8685c5d9c2ca8cd7ee016e64222d34a9f05 (diff)
downloadruby-707ff7bfb715d7caa7766041cea8bad6e8ca43a0.tar.gz
* ext/win32ole/win32ole_typelib.c (foletypelib_version): return
version string. * test/win32ole/test_win32ole_typelib.rb (test_version): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/win32ole')
-rw-r--r--test/win32ole/test_win32ole_typelib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole_typelib.rb b/test/win32ole/test_win32ole_typelib.rb
index 09a7f32c88..a548bc1534 100644
--- a/test/win32ole/test_win32ole_typelib.rb
+++ b/test/win32ole/test_win32ole_typelib.rb
@@ -66,7 +66,7 @@ if defined?(WIN32OLE_TYPELIB)
def test_version
tlib = WIN32OLE_TYPELIB.new("Microsoft Shell Controls And Automation")
- assert_equal(1.0, tlib.version)
+ assert_equal("1.0", tlib.version)
end
def test_major_version