diff options
Diffstat (limited to 'test/win32ole/test_win32ole_variant_m.rb')
-rw-r--r-- | test/win32ole/test_win32ole_variant_m.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/win32ole/test_win32ole_variant_m.rb b/test/win32ole/test_win32ole_variant_m.rb index 25ad56cc21..3c2884644c 100644 --- a/test/win32ole/test_win32ole_variant_m.rb +++ b/test/win32ole/test_win32ole_variant_m.rb @@ -8,6 +8,11 @@ require "test/unit" if defined?(WIN32OLE::VARIANT) class TestWin32OLE_VARIANT_MODULE < Test::Unit::TestCase include WIN32OLE::VARIANT + + def test_toplevel_constants_backward_compatibility + assert_equal(WIN32OLE::VariantType, WIN32OLE::VARIANT) + end + def test_variant assert_equal(0, VT_EMPTY) assert_equal(1, VT_NULL) |