[rubygems/rubygems] Use pend instead of skip in the absence of git in test helper
https://github.com/rubygems/rubygems/commit/798a93a98c
This commit is contained in:
parent
4e7f085cf7
commit
61aedb28ef
@ -595,7 +595,7 @@ class Gem::TestCase < Test::Unit::TestCase
|
|||||||
def have_git?
|
def have_git?
|
||||||
return if in_path? @git
|
return if in_path? @git
|
||||||
|
|
||||||
skip 'cannot find git executable, use GIT environment variable to set'
|
pend 'cannot find git executable, use GIT environment variable to set'
|
||||||
end
|
end
|
||||||
|
|
||||||
def in_path?(executable) # :nodoc:
|
def in_path?(executable) # :nodoc:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user