From 8a60ad60572dece4ed101bb89cafdddbd6e2be19 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 5 Mar 2024 11:27:19 -0800 Subject: [PATCH] jsonpatch https://github.com/evanphx/json-patch/issues/160 --- operator/pkg/util/yaml_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/operator/pkg/util/yaml_test.go b/operator/pkg/util/yaml_test.go index 360e97a713d2..10a03d7a277e 100644 --- a/operator/pkg/util/yaml_test.go +++ b/operator/pkg/util/yaml_test.go @@ -15,7 +15,6 @@ package util import ( - "errors" "reflect" "testing" ) @@ -158,8 +157,8 @@ foo: bar desc: "blank", base: `R#)*J#FN`, overlay: `FM#)M#F(*#M`, - expect: "", - err: errors.New("invalid json"), + expect: "FM#)M#F(*#M\n", + err: nil, }, } for _, tt := range tests {