mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fileutils] Use pend instead of skip
https://github.com/ruby/fileutils/commit/ba2c24e2d7
This commit is contained in:
parent
c14755e9ca
commit
ad67adb5f9
1 changed files with 2 additions and 2 deletions
|
@ -462,7 +462,7 @@ class TestFileUtils < Test::Unit::TestCase
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
else
|
else
|
||||||
def test_cp_r_socket
|
def test_cp_r_socket
|
||||||
skip "Skipping socket test on JRuby" if RUBY_ENGINE == 'jruby'
|
pend "Skipping socket test on JRuby" if RUBY_ENGINE == 'jruby'
|
||||||
Dir.mkdir('tmp/cpr_src')
|
Dir.mkdir('tmp/cpr_src')
|
||||||
UNIXServer.new('tmp/cpr_src/socket').close
|
UNIXServer.new('tmp/cpr_src/socket').close
|
||||||
cp_r 'tmp/cpr_src', 'tmp/cpr_dest'
|
cp_r 'tmp/cpr_src', 'tmp/cpr_dest'
|
||||||
|
@ -1052,7 +1052,7 @@ class TestFileUtils < Test::Unit::TestCase
|
||||||
else
|
else
|
||||||
tmpdir = Dir.pwd
|
tmpdir = Dir.pwd
|
||||||
end
|
end
|
||||||
skip "No drive letter" unless /\A[a-z]:/i =~ tmpdir
|
pend "No drive letter" unless /\A[a-z]:/i =~ tmpdir
|
||||||
drive = "./#{$&}"
|
drive = "./#{$&}"
|
||||||
assert_file_not_exist drive
|
assert_file_not_exist drive
|
||||||
mkdir_p "#{tmpdir}/none/dir"
|
mkdir_p "#{tmpdir}/none/dir"
|
||||||
|
|
Loading…
Reference in a new issue