From 8189ce7f43023c9976a0636704dae4b79ebaecd5 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Thu, 29 Sep 2016 15:09:57 -0400 Subject: [PATCH] git-archive-all: fix test (#5383) git-archive-all prints the realpath. --- Formula/git-archive-all.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/git-archive-all.rb b/Formula/git-archive-all.rb index b8d18a69cb..1ee190e394 100644 --- a/Formula/git-archive-all.rb +++ b/Formula/git-archive-all.rb @@ -28,7 +28,7 @@ class GitArchiveAll < Formula system "git", "add", "homebrew" system "git", "commit", "--message", "brewing" - assert_equal "#{testpath}/homebrew => archive/homebrew", + assert_equal "#{testpath.realpath}/homebrew => archive/homebrew", shell_output("#{bin}/git-archive-all --dry-run ./archive", 0).chomp end end