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:
parent
5331615d54
commit
8ccbca2623
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue