chore: improve errors and tests

This commit is contained in:
2024-03-23 21:05:57 +00:00
parent 5247fbd90b
commit ccc3668fa2
7 changed files with 262 additions and 30 deletions

View File

@@ -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},
},
{