cfv: Pathname.pwd not just Pathname
This commit is contained in:
parent
2f580f34f4
commit
0e369bba89
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Cfv < Formula
|
|||
(testpath/"test/test.txt").write "Homebrew!"
|
||||
cd "test" do
|
||||
system bin/"cfv", "-t", "sha1", "-C", "test.txt"
|
||||
assert_predicate Pathname/"test.sha1", :exist?
|
||||
assert_predicate Pathname.pwd/"test.sha1", :exist?
|
||||
assert_match /9afe8b4d99fb2dd5f6b7b3e548b43a038dc3dc38/, File.read("test.sha1")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue