From 46eb180b8819e5202a713bbdc6f5fc13a251dc5b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 11 Sep 2024 10:54:18 +0900 Subject: [PATCH] Use omit instead of skip for test-unit --- test/net/ftp/test_ftp.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index eaeeae0..34e11d0 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -1834,7 +1834,7 @@ def test_tls_unknown_ca :port => port, :ssl => true) rescue SystemCallError - skip $! + omit $! end end end @@ -1848,7 +1848,7 @@ def test_tls_with_ca_file :port => port, :ssl => { :ca_file => CA_FILE }) rescue SystemCallError - skip $! + omit $! end end end @@ -2270,7 +2270,7 @@ def test_abort_tls end def test_getbinaryfile_command_injection - skip "| is not allowed in filename on Windows" if windows? + omit "| is not allowed in filename on Windows" if windows? [false, true].each do |resume| commands = [] binary_data = (0..0xff).map {|i| i.chr}.join * 4 * 3 @@ -2323,7 +2323,7 @@ def test_getbinaryfile_command_injection end def test_gettextfile_command_injection - skip "| is not allowed in filename on Windows" if windows? + omit "| is not allowed in filename on Windows" if windows? commands = [] text_data = <