Also ignore git ls-files command with IO.popen style for tmpdir.gemspec and tempfile.gemspec
This commit is contained in:
parent
3668118572
commit
95e55e9ae4
@ -8,6 +8,7 @@ class TestDefaultGems < Test::Unit::TestCase
|
||||
# - `git ls-files` is useless under ruby's repository
|
||||
# - `2>/dev/null` works only on Unix-like platforms
|
||||
code.gsub!(/`git.*?`/, '""')
|
||||
code.gsub!(/\[git.*?\]/, '[]')
|
||||
|
||||
eval(code, binding, file)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user