1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/win32ole] Use omit() for skip()

https://github.com/ruby/win32ole/commit/2d5dc47ed4
This commit is contained in:
Hiroshi SHIBATA 2022-01-11 21:34:48 +09:00
parent 5331615d54
commit 8ccbca2623
2 changed files with 2 additions and 2 deletions

View file

@ -434,7 +434,7 @@ if defined?(WIN32OLE_VARIANT)
begin
WIN32OLE.locale = 0x0411 # set locale Japanese
rescue WIN32OLERuntimeError
skip("Japanese locale is not installed")
omit("Japanese locale is not installed")
end
if WIN32OLE.locale == 0x0411
obj = WIN32OLE_VARIANT.new("\\10,000", WIN32OLE::VARIANT::VT_CY)

View file

@ -42,7 +42,7 @@ if defined?(WIN32OLE_VARIANT)
def test_variant_ref_and_argv
if !ado_csv_installed?
skip("ActiveX Data Object Library not found")
omit("ActiveX Data Object Library not found")
end
sql = "INSERT INTO data.csv VALUES (5, 'E')"
@db.execute(sql, -1)