mirror of
https://github.com/jimeh/go-render.git
synced 2026-02-19 11:26:39 +00:00
chore: improve errors and tests
This commit is contained in:
@@ -37,6 +37,7 @@ func TestBinary_Render(t *testing.T) {
|
||||
{
|
||||
name: "does not implement encoding.BinaryMarshaler",
|
||||
value: struct{}{},
|
||||
wantErr: "render: cannot render: struct {}",
|
||||
wantErrIs: []error{render.Err, render.ErrCannotRender},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user