ruby-changes:3401
From: ko1@a...
Date: 5 Jan 2008 19:43:05 +0900
Subject: [ruby-changes:3401] suke - Ruby:r14894 (trunk): * test/win32ole/test_win32ole.rb(test_s_locale_change) :add assertion which
suke 2008-01-05 19:42:36 +0900 (Sat, 05 Jan 2008) New Revision: 14894 Modified files: trunk/test/win32ole/test_win32ole.rb Log: * test/win32ole/test_win32ole.rb(test_s_locale_change) :add assertion which should raise WIN32OLERuntimeError. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/win32ole/test_win32ole.rb?r1=14894&r2=14893&diff_format=u Index: test/win32ole/test_win32ole.rb =================================================================== --- test/win32ole/test_win32ole.rb (revision 14893) +++ test/win32ole/test_win32ole.rb (revision 14894) @@ -342,6 +342,9 @@ WIN32OLE.locale = 0x0411 obj = WIN32OLE_VARIANT.new("\\100,000", WIN32OLE::VARIANT::VT_CY) assert_equal("100000", obj.value) + assert_raise(WIN32OLERuntimeError) { + obj = WIN32OLE_VARIANT.new("$100.000", WIN32OLE::VARIANT::VT_CY) + } WIN32OLE.locale = 1033 obj = WIN32OLE_VARIANT.new("$100,000", WIN32OLE::VARIANT::VT_CY) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml