aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-review.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/git-review.rb')
-rw-r--r--Library/Formula/git-review.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/git-review.rb b/Library/Formula/git-review.rb
index 564818e1d..0b5e9676f 100644
--- a/Library/Formula/git-review.rb
+++ b/Library/Formula/git-review.rb
@@ -35,12 +35,12 @@ class GitReview < Formula
end
test do
- system "git init"
- system "git remote add gerrit https://github.com/Homebrew/homebrew.github.io"
- (testpath/".git/hooks/commit-msg").write("# empty - make git-review happy")
- (testpath/"foo").write("test file")
- system "git add foo"
- system "git commit -m \"test\""
+ system "git", "init"
+ system "git", "remote", "add", "gerrit", "https://github.com/Homebrew/homebrew.github.io"
+ (testpath/".git/hooks/commit-msg").write "# empty - make git-review happy"
+ (testpath/"foo").write "test file"
+ system "git", "add", "foo"
+ system "git", "commit", "-m", "test"
system "#{bin}/git-review", "--dry-run"
end
end