summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2024-11-24 18:14:58 +0000
committerSharlatan Hellseher <[email protected]>2025-01-21 23:41:45 +0000
commit94cefaab3af82f96e2e7a910627a0f393c2b5446 (patch)
tree1463b07345ff29d519454a738dbc05f8fce841c9 /gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch
parent85a9366d607a600b449baf8a7e6055756e6cc01d (diff)
gnu: go-github-com-urfave-cli: Update to 1.22.16.
* gnu/packages/golang.scm (go-github-com-urfave-cli): Update to 1.22.16. [source]: Remove patch. [native-iputs]: Add go-github-com-stretchr-testify. * gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch: Delete file. * gnu/local.mk: Deregister patch. Change-Id: If4f1db104fbdcd5b603003065c88110746d12ebb
Diffstat (limited to 'gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch')
-rw-r--r--gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch b/gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch
deleted file mode 100644
index 7408d4ec16..0000000000
--- a/gnu/packages/patches/go-github-com-urfave-cli-fix-tests.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Backported from upstream PR: https://github.com/urfave/cli/pull/1299
----
-diff --git a/app_test.go b/app_test.go
-index 33024ff..6b3aaa3 100644
---- a/app_test.go
-+++ b/app_test.go
-@@ -513,18 +513,18 @@ func TestApp_RunAsSubcommandParseFlags(t *testing.T) {
- func TestApp_RunAsSubCommandIncorrectUsage(t *testing.T) {
- a := App{
- Flags: []Flag{
-- StringFlag{Name: "--foo"},
-+ StringFlag{Name: "foo"},
- },
- Writer: bytes.NewBufferString(""),
- }
-
- set := flag.NewFlagSet("", flag.ContinueOnError)
-- _ = set.Parse([]string{"", "---foo"})
-+ _ = set.Parse([]string{"", "-bar"})
- c := &Context{flagSet: set}
-
- err := a.RunAsSubcommand(c)
-
-- expect(t, err, errors.New("bad flag syntax: ---foo"))
-+ expect(t, err.Error(), "flag provided but not defined: -bar")
- }
-
- func TestApp_CommandWithFlagBeforeTerminator(t *testing.T) {