aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-04-24 10:02:45 +0100
committerGitHub2017-04-24 10:02:45 +0100
commitcf01485318ba8be4785cf04c35ae30e20e0e1177 (patch)
tree29beda4498cb2ffd6ded841882619faa8c17e668 /Library/Homebrew/test
parent5b14d731bad57c2a9ac9d0bf63e0d58a9b82286b (diff)
parent3e40059f8d6cace0a2b8fa0c98e8f05bf13a3811 (diff)
downloadbrew-cf01485318ba8be4785cf04c35ae30e20e0e1177.tar.bz2
Merge pull request #2534 from MikeMcQuaid/which_editor_args
utils: make which_editor handle editor args.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/utils_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb
index 5f370a040..ffaa1f493 100644
--- a/Library/Homebrew/test/utils_spec.rb
+++ b/Library/Homebrew/test/utils_spec.rb
@@ -191,7 +191,7 @@ describe "globally-scoped helper methods" do
ENV["HOMEBREW_EDITOR"] = "vemate"
ENV["HOMEBREW_PATH"] = dir
- editor = dir/"vemate"
+ editor = "#{dir}/vemate"
FileUtils.touch editor
FileUtils.chmod 0755, editor