We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d13a32 commit cd7bfcdCopy full SHA for cd7bfcd
tests/units/test_merge.rb
@@ -87,7 +87,7 @@ def command(cmd)
87
puts '-' * 80
88
puts "Running: #{cmd}"
89
puts '-' * 10
90
- output, status = Open3.capture2e("#{cmd} 2>&1")
+ output, status = Open3.capture2e(env, "#{cmd} 2>&1")
91
puts output
92
93
pp status
@@ -128,8 +128,8 @@ def work_tree
128
129
def test_command_with_env
130
command_with_env(
131
- { 'PATH' => 'testing' },
132
- %Q(echo "#{env_var('PATH')}" 2>&1)
+ { 'TERM_PROGRAM' => 'vi' },
+ %Q(echo "#{env_var('TERM_PROGRAM')}")
133
)
134
end
135
0 commit comments