From dca146a849f6bd2c531b3ac5296d055357d0f997 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] gofumpt 0.4.0 * gofumpt 0.4.0 * gofumpt: update test Closes #112189. Signed-off-by: Rui Chen Co-authored-by: Rui Chen Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/gofumpt.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/gofumpt.rb b/Formula/gofumpt.rb index ad6af92514a94..746b036506ec9 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 @@ -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