Skip to content

Commit

Permalink
fix more error string assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
jquirke committed Jun 19, 2024
1 parent 6ffb87f commit 055b5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding/protobuf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
{
Expand Down

0 comments on commit 055b5a2

Please sign in to comment.