all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 2c645759140b517515fa144402a7ecd14e4a808a 586 bytes (raw)
name: gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
Remove test which fails with Go >= 1.15 due to API changes.
This patch should no longer be necessary with doublestar v4+

diff --git a/doublestar_test.go b/doublestar_test.go
index b21d20ad4b..f510c3d06b 100644
--- a/doublestar_test.go
+++ b/doublestar_test.go
@@ -80,7 +80,6 @@ var matchTests = []MatchTest{
 	{"[", "a", false, ErrBadPattern, true},
 	{"[^", "a", false, ErrBadPattern, true},
 	{"[^bc", "a", false, ErrBadPattern, true},
-	{"a[", "a", false, nil, false},
 	{"a[", "ab", false, ErrBadPattern, true},
 	{"*x", "xxx", true, nil, true},
 	{"[abc]", "b", true, nil, true},

debug log:

solving 2c64575914 ...
found 2c64575914 in https://yhetil.org/guix/00966aa0d291e3eeed89103fc456981171b403cf.1624602942.git.iskarian@mgsn.dev/ ||
	https://yhetil.org/guix/7857e451389aa8081dac1bb783c5c7d29f2e9189.1628192044.git.iskarian@mgsn.dev/

applying [1/1] https://yhetil.org/guix/00966aa0d291e3eeed89103fc456981171b403cf.1624602942.git.iskarian@mgsn.dev/
diff --git a/gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch b/gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch
new file mode 100644
index 0000000000..2c64575914

1:15: space before tab in indent.
 	{"[", "a", false, ErrBadPattern, true},
1:16: space before tab in indent.
 	{"[^", "a", false, ErrBadPattern, true},
1:17: space before tab in indent.
 	{"[^bc", "a", false, ErrBadPattern, true},
1:19: space before tab in indent.
 	{"a[", "ab", false, ErrBadPattern, true},
1:20: space before tab in indent.
 	{"*x", "xxx", true, nil, true},
Checking patch gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch...
Applied patch gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

skipping https://yhetil.org/guix/7857e451389aa8081dac1bb783c5c7d29f2e9189.1628192044.git.iskarian@mgsn.dev/ for 2c64575914
index at:
100644 2c645759140b517515fa144402a7ecd14e4a808a	gnu/packages/patches/go-github-com-bmatcuk-doublestar-1.3-remove-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.