git-archive-all: fix test (#5383)

git-archive-all prints the realpath.
This commit is contained in:
Zhiming Wang 2016-09-29 15:09:57 -04:00 committed by GitHub
parent 0f04cd5567
commit 8189ce7f43

View file

@ -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