Skip to content

Commit

Permalink
Use omit() for skip()
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 11, 2022
1 parent cbda1e3 commit 2d5dc47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/win32ole/test_win32ole_variant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def test_conversion_str2cy
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)
Expand Down
2 changes: 1 addition & 1 deletion test/win32ole/test_win32ole_variant_outarg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def setup

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)
Expand Down

0 comments on commit 2d5dc47

Please sign in to comment.