aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-22 07:19:16 +0100
committerMarkus Reiter2017-02-23 09:23:22 +0100
commit9dda84ad6be7fbc48c10e54f9c1af0c3a6b4afa6 (patch)
tree65ba6c3a9ba87081a51d6d9372c3765da595266f /Library/Homebrew/extend
parent0b33428e79e6834fe7c8871953c8420be3c29f69 (diff)
downloadbrew-9dda84ad6be7fbc48c10e54f9c1af0c3a6b4afa6.tar.bz2
Add integration test helper methods.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index cfb028704..9f6861a9a 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -335,7 +335,7 @@ class Pathname
alias to_str to_s unless method_defined?(:to_str)
def cd
- Dir.chdir(self) { yield }
+ Dir.chdir(self) { yield self }
end
def subdirs