mirror of
https://github.com/httpie/cli.git
synced 2024-11-25 01:03:27 +01:00
Test httpie
This commit is contained in:
parent
2d15659b16
commit
c97ec93a19
@ -73,6 +73,9 @@ class Httpie < Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
# shell_output() already checks the status code
|
||||||
|
shell_output("#{bin}/httpie -v")
|
||||||
|
|
||||||
raw_url = "https://raw.githubusercontent.com/Homebrew/homebrew-core/HEAD/Formula/httpie.rb"
|
raw_url = "https://raw.githubusercontent.com/Homebrew/homebrew-core/HEAD/Formula/httpie.rb"
|
||||||
assert_match "PYTHONPATH", shell_output("#{bin}/http --ignore-stdin #{raw_url}")
|
assert_match "PYTHONPATH", shell_output("#{bin}/http --ignore-stdin #{raw_url}")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user