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:
@@ -28,7 +28,8 @@ func TestMultiRenderer_Render(t *testing.T) {
|
||||
cannotRenderer,
|
||||
cannotRenderer,
|
||||
},
|
||||
value: struct{}{},
|
||||
value: "test",
|
||||
wantErr: "render: cannot render: string",
|
||||
wantErrIs: []error{render.ErrCannotRender},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user