From 055b5a27ce0ab4171644e5ced3b9cd11341ddda2 Mon Sep 17 00:00:00 2001 From: Jeremy Quirke Date: Wed, 19 Jun 2024 03:03:34 -0700 Subject: [PATCH] fix more error string assertions --- encoding/protobuf_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoding/protobuf_test.go b/encoding/protobuf_test.go index 29594f6..b57b6b4 100644 --- a/encoding/protobuf_test.go +++ b/encoding/protobuf_test.go @@ -236,7 +236,7 @@ func TestProtobufErrorDetails(t *testing.T) { source: source, method: "Bar/Baz", err: yarpcerrors.FromError(fmt.Errorf("this is a test error")).WithDetails([]byte{0x8, 0x1, 0x12}), - wantErr: fmt.Errorf("could not unmarshal error details unexpected EOF"), + wantErr: fmt.Errorf("could not unmarshal error details"), wantOutAsJSON: "null", }, {