Skip to content

Commit 0f5276d

Browse files
committed
gsan: fix test
1 parent 30ce904 commit 0f5276d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Formula/g/gsan.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class Gsan < Formula
66
url "https://files.pythonhosted.org/packages/73/0c/1fc5a29ae79fd74f0fd54d2c4d487b8cf7b21ede08efe99a6c39977816c6/gsan-5.0.0.tar.gz"
77
sha256 "2418a6897b0eb1c6eb44c3521ccc5c69a811071f864b8001fd9699a4d2f4c9e3"
88
license "MIT"
9+
head "https://github.com/franccesco/getaltname.git", branch: "master"
910

1011
bottle do
1112
sha256 cellar: :any_skip_relocation, all: "b5f3b8889010acbfe378e95593bfc2757db482894a47bbfb1dd6d76c1cd8be8f"
@@ -69,8 +70,6 @@ def install
6970
end
7071

7172
test do
72-
output = shell_output("#{bin}/gsan example.com")
73-
assert_match "example.com [4]", output
74-
assert_match "example.org", output
73+
assert_match(/google.com \[\d+\]/, shell_output("#{bin}/gsan google.com"))
7574
end
7675
end

0 commit comments

Comments
 (0)