refactor!: sizeable changes across the board

This commit is contained in:
2024-03-19 03:54:31 +00:00
parent a1b1ef82ad
commit 7632b1119c
22 changed files with 620 additions and 733 deletions

View File

@@ -66,8 +66,8 @@ func TestYAML_Render(t *testing.T) {
{
name: "error from yaml.Marshaler",
value: &mockYAMLMarshaler{err: errors.New("mock error")},
wantErr: "render: mock error",
wantErrIs: []error{render.Err},
wantErr: "render: failed: mock error",
wantErrIs: []error{render.Err, render.ErrFailed},
},
{
name: "invalid value",