Debian Codegraph @

debian/patches/0002-Skip-tests-due-to-new-JSON-implementation-in-Go-1.27.patch

raw
1 From: "Dr. Tobias Quathamer" <[email protected]>
2 Date: Tue, 22 Sep 2026 11:32:02 +0200
3 Subject: Skip tests due to new JSON implementation in Go 1.27
4
5 ---
6 json/json_test.go | 7 ++++++-
7 1 file changed, 6 insertions(+), 1 deletion(-)
8
9 diff --git a/json/json_test.go b/json/json_test.go
10 index ede33fd..a7891f7 100644
11 --- a/json/json_test.go
12 +++ b/json/json_test.go
13 @@ -15,6 +15,7 @@ import (
14 "path/filepath"
15 "reflect"
16 "runtime"
17 + "slices"
18 "strconv"
19 "strings"
20 "testing"
21 @@ -1304,7 +1305,11 @@ func TestUnmarshalFuzzBugs(t *testing.T) {
22 //},
23 }
24
25 - for _, test := range tests {
26 + for testnr, test := range tests {
27 + testsToSkip := []int{12, 13, 14, 17, 27, 38, 40, 41, 45, 47, 48, 49, 51, 61, 65}
28 + if slices.Contains(testsToSkip, testnr) {
29 + continue
30 + }
31 t.Run("", func(t *testing.T) {
32 var ptr1 any
33 var ptr2 any