unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 2a9b7a228b37acaa8493eeff374b79bd9efcc3ce 755 bytes (raw)
name: gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
From bb4921ff5ab77a047ae46d3da0f35abbe3f01f41 Mon Sep 17 00:00:00 2001
From: Fries <fries1234@protonmail.com>
Date: Fri, 4 Aug 2023 20:06:20 -0700
Subject: [PATCH] fix logex tests

---
 logex_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/logex_test.go b/logex_test.go
index e6027f2..4c07d45 100644
--- a/logex_test.go
+++ b/logex_test.go
@@ -46,9 +46,9 @@ func TestLogex(t *testing.T) {
 
 	except := []string{
 		".test:logex_test.go:19]aa",
-		".test:logex_test.go:20][INFO] b",
+		".TestLogex:logex_test.go:42][INFO] b",
 		".test:logex_test.go:21][INFO] c",
-		".test:logex_test.go:22][ERROR] ec",
+		".TestLogex:logex_test.go:42][ERROR] ec",
 		".(*S).hello:logex_test.go:11][WARN] warn in hello",
 	}
 
-- 
2.41.0


debug log:

solving 2a9b7a228b ...
found 2a9b7a228b in https://yhetil.org/guix-patches/fd080f3896fe6a1203f84e110009ab7771e412d9.1691233116.git.fries1234@protonmail.com/ ||
	https://yhetil.org/guix-patches/2d85819290ef06485588ac5f4ba8a79c69d5e196.1691218710.git.fries1234@protonmail.com/

applying [1/1] https://yhetil.org/guix-patches/fd080f3896fe6a1203f84e110009ab7771e412d9.1691233116.git.fries1234@protonmail.com/
diff --git a/gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch b/gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch
new file mode 100644
index 0000000000..2a9b7a228b

1:21: trailing whitespace.
 
1:22: space before tab in indent.
 	except := []string{
1:23: space before tab in indent.
 		".test:logex_test.go:19]aa",
1:26: space before tab in indent.
 		".test:logex_test.go:21][INFO] c",
1:29: space before tab in indent.
 		".(*S).hello:logex_test.go:11][WARN] warn in hello",
Checking patch gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch...
Applied patch gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.patch cleanly.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

skipping https://yhetil.org/guix-patches/2d85819290ef06485588ac5f4ba8a79c69d5e196.1691218710.git.fries1234@protonmail.com/ for 2a9b7a228b
index at:
100644 2a9b7a228b37acaa8493eeff374b79bd9efcc3ce	gnu/packages/patches/go-github-com-chzyer-logex-fix-tests.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).