From 5a83a9ebc4887b95559dad6e4c8f280e6819c8c1 Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Tue, 21 Dec 2021 20:33:23 +0300 Subject: [PATCH] Test `https` as well --- docs/packaging/brew/httpie.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/packaging/brew/httpie.rb b/docs/packaging/brew/httpie.rb index 573e4b2d..48097e51 100644 --- a/docs/packaging/brew/httpie.rb +++ b/docs/packaging/brew/httpie.rb @@ -75,6 +75,8 @@ class Httpie < Formula test do # shell_output() already checks the status code shell_output("#{bin}/httpie -v") + shell_output("#{bin}/https -v") + shell_output("#{bin}/http -v") raw_url = "https://raw.githubusercontent.com/Homebrew/homebrew-core/HEAD/Formula/httpie.rb" assert_match "PYTHONPATH", shell_output("#{bin}/http --ignore-stdin #{raw_url}")