We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5662ca1 commit a730a18Copy full SHA for a730a18
pkg/jsonrpc2/types_test.go
@@ -47,7 +47,8 @@ func TestTypes(t *testing.T) {
47
48
digest, err := req.Digest()
49
require.Error(t, err)
50
- require.Equal(t, "error marshaling JSON: json: cannot marshal from Go chan string within \"/params/channel\"", err.Error())
+ require.Contains(t, err.Error(), "error marshaling JSON: json:")
51
+ require.Contains(t, err.Error(), "Go chan string within \"/params/channel\"")
52
require.Empty(t, digest)
53
})
54
0 commit comments