mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Use dummy command for IO.popen
This commit is contained in:
parent
e8e2415bb3
commit
47b46fd98c
@ -8,7 +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.*?\]/, '[]')
|
||||
code.gsub!(/\[git.*?\]/, '[echo]')
|
||||
|
||||
eval(code, binding, file)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user