Debian Codegraph @

debian/patches/0001-Fix-FTBFS-with-golang-1.27.patch

raw
1 From: "Dr. Tobias Quathamer" <[email protected]>
2 Date: Mon, 7 Sep 2026 10:56:34 +0200
3 Subject: Fix FTBFS with golang-1.27
4
5 Closes: #1146192
6 ---
7 checker_test.go | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
9
10 diff --git a/checker_test.go b/checker_test.go
11 index 0a3f3ca..648df77 100644
12 --- a/checker_test.go
13 +++ b/checker_test.go
14 @@ -2980,11 +2980,11 @@ want:
15 },
16 expectedCheckFailure: `
17 error:
18 - bad check: cannot marshal expected contents: json: error calling MarshalJSON for type quicktest_test.jsonErrorMarshaler: qt json marshal error
19 + bad check: cannot marshal expected contents: json: error calling MarshalJSON for type *quicktest_test.jsonErrorMarshaler: qt json marshal error
20 `,
21 expectedNegateFailure: `
22 error:
23 - bad check: cannot marshal expected contents: json: error calling MarshalJSON for type quicktest_test.jsonErrorMarshaler: qt json marshal error
24 + bad check: cannot marshal expected contents: json: error calling MarshalJSON for type *quicktest_test.jsonErrorMarshaler: qt json marshal error
25 `,
26 }, {
27 about: "JSONEquals with []byte",
28 @@ -3010,7 +3010,7 @@ error:
29 got:
30 []uint8("null")
31 want:
32 - json.RawMessage("null")
33 + s"null"
34 `,
35 }, {
36 about: "JSONEquals with bad type",