Debian Codegraph @

debian/patches/Skip-failed-json-marshal-tests-with-Go1.22.patch

raw symbols SCIP
1 Fromscip-debian debian golang-k8s-kube-openapi 0.0~git20241212.2c72e55-3 golang-k8s-kube-openapi/patches/`Skip-failed-json-marshal-tests-with-Go1.22.patch`#From.: Shengjing Zhu <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian golang-k8s-kube-openapi 0.0~git20241212.2c72e55-3 golang-k8s-kube-openapi/patches/`Skip-failed-json-marshal-tests-with-Go1.22.patch`#Date.: Thu, 29 Feb 2024 19:05:55 +0800
3 Subjectscip-debian debian golang-k8s-kube-openapi 0.0~git20241212.2c72e55-3 golang-k8s-kube-openapi/patches/`Skip-failed-json-marshal-tests-with-Go1.22.patch`#Subject.: Skip failed json marshal tests with Go1.22
4
5 ---
6 pkg/internal/third_party/go-json-experiment/json/arshal_test.go | 3 +++
7 1 file changed, 3 insertions(+)
8
9 diff --git a/pkg/internal/third_party/go-json-experiment/json/arshal_test.goscip-debian debian golang-k8s-kube-openapi 0.0~git20241212.2c72e55-3 golang-k8s-kube-openapi/upstream/`pkg/internal/third_party/go-json-experiment/json/arshal_test.go`: b/pkg/internal/third_party/go-json-experiment/json/arshal_test.goscip-debian debian golang-k8s-kube-openapi 0.0~git20241212.2c72e55-3 golang-k8s-kube-openapi/upstream/`pkg/internal/third_party/go-json-experiment/json/arshal_test.go`:
10 index f2235c5..9f97a2f 100644
11 --- a/pkg/internal/third_party/go-json-experiment/json/arshal_test.go
12 +++ b/pkg/internal/third_party/go-json-experiment/json/arshal_test.go
13 @@ -3674,6 +3674,9 @@ func TestMarshal(t *testing.T) {
14
15 for _, tt := range tests {
16 t.Run(tt.name.name, func(t *testing.T) {
17 + if tt.name.name == "Structs/OmitEmpty/NonEmpty" || tt.name.name == "Structs/OmitZero/NonZero" {
18 + t.Skip("behavior changed in go1.22")
19 + }
20 var got []byte
21 var gotErr error
22 if tt.useWriter {