mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 21:49:06 +02:00
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
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ class TestDefaultGems < Test::Unit::TestCase
|
||||||
# - `git ls-files` is useless under ruby's repository
|
# - `git ls-files` is useless under ruby's repository
|
||||||
# - `2>/dev/null` works only on Unix-like platforms
|
# - `2>/dev/null` works only on Unix-like platforms
|
||||||
code.gsub!(/`git.*?`/, '""')
|
code.gsub!(/`git.*?`/, '""')
|
||||||
|
code.gsub!(/\[git.*?\]/, '[]')
|
||||||
|
|
||||||
eval(code, binding, file)
|
eval(code, binding, file)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue