From b3bd10edbd15de07e58dc9dc21d6e4594c71f1c2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 3 Oct 2022 05:27:32 +0000 Subject: [PATCH 1/2] gofumpt 0.4.0 --- Formula/gofumpt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/gofumpt.rb b/Formula/gofumpt.rb index ad6af92514a94..c74011d465d18 100644 --- a/Formula/gofumpt.rb +++ b/Formula/gofumpt.rb @@ -1,8 +1,8 @@ class Gofumpt < Formula desc "Stricter gofmt" homepage "https://github.com/mvdan/gofumpt" - url "https://github.com/mvdan/gofumpt/archive/v0.3.1.tar.gz" - sha256 "514faa1401511c5634eb906ebaa12c26dd1f7227f80b835c9b21af15bbd0ec3a" + url "https://github.com/mvdan/gofumpt/archive/v0.4.0.tar.gz" + sha256 "ba1fd89dd5a36a5443c879cd084b5626d3f8704000ec53c0d1cf5276af2bfa86" license "BSD-3-Clause" bottle do From a6fef72e470d2bee7790ff371388d3e8e16528cc Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 4 Dec 2022 19:13:22 -0500 Subject: [PATCH 2/2] gofumpt: update test Signed-off-by: Rui Chen --- Formula/gofumpt.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/gofumpt.rb b/Formula/gofumpt.rb index c74011d465d18..746b036506ec9 100644 --- a/Formula/gofumpt.rb +++ b/Formula/gofumpt.rb @@ -24,7 +24,8 @@ def install end test do - assert_match version.to_s, shell_output("#{bin}/gofumpt --version") + # upstream issue tracker, https://github.com/mvdan/gofumpt/issues/253 + # assert_match version.to_s, shell_output("#{bin}/gofumpt --version") (testpath/"test.go").write <<~EOS package foo