chore: force yaml indent to 2

Andrey Nering created

Change summary

providertests/recorder_test.go | 1 +
1 file changed, 1 insertion(+)

Detailed changes

providertests/recorder_test.go 🔗

@@ -59,6 +59,7 @@ func customMatcher(t *testing.T) recorder.MatcherFunc {
 func marshalFunc(in any) ([]byte, error) {
 	var buff bytes.Buffer
 	enc := yaml.NewEncoder(&buff)
+	enc.SetIndent(2)
 	enc.CompactSeqIndent()
 	if err := enc.Encode(in); err != nil {
 		return nil, err