Skip to content

Commit 8060bb5

Browse files
BrewTestBotchenrui333
authored andcommitted
redress 1.2.44
redress: update test Signed-off-by: Rui Chen <[email protected]>
1 parent d868f52 commit 8060bb5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Formula/r/redress.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Redress < Formula
22
desc "Tool for analyzing stripped Go binaries compiled with the Go compiler"
33
homepage "https://github.com/goretk/redress"
4-
url "https://github.com/goretk/redress/archive/refs/tags/v1.2.43.tar.gz"
5-
sha256 "4c817f24c151ff9ab8c9f8bbe2ae8ac75ed3a26955806ccc2dbebe5e2dcc8dcd"
4+
url "https://github.com/goretk/redress/archive/refs/tags/v1.2.44.tar.gz"
5+
sha256 "26c60c539136e2f2a72ac1f28000e7139a8aa1536484b887fa2f7d1fb3a5de2b"
66
license "AGPL-3.0-only"
77
head "https://github.com/goretk/redress.git", branch: "develop"
88

@@ -41,10 +41,8 @@ def install
4141
test do
4242
assert_match "Version: #{version}", shell_output("#{bin}/redress version")
4343

44-
test_module_root = "github.com/goretk/redress"
4544
test_bin_path = bin/"redress"
46-
4745
output = shell_output("#{bin}/redress info '#{test_bin_path}'")
48-
assert_match(/Main root\s+#{Regexp.escape(test_module_root)}/, output)
46+
assert_match "DefaultGODEBUG", output
4947
end
5048
end

0 commit comments

Comments
 (0)