diff options
| author | Mike McQuaid | 2017-04-24 08:49:11 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-04-24 08:49:11 +0100 |
| commit | 3e40059f8d6cace0a2b8fa0c98e8f05bf13a3811 (patch) | |
| tree | 7825e3d651caabc1b7f9f60855b545e7a1a84187 /Library/Homebrew/test | |
| parent | cfe2c3c9007ae919267eb0767ef84c27748829c4 (diff) | |
| download | brew-3e40059f8d6cace0a2b8fa0c98e8f05bf13a3811.tar.bz2 | |
utils: make which_editor handle editor args.
Handle cases like e.g. `EDITOR="subl -w"`.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/utils_spec.rb | 2 |
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 |
