(f *testing.F)
| 14 | ) |
| 15 | |
| 16 | func FuzzLoadYAMLByFilePath(f *testing.F) { |
| 17 | f.Fuzz(func(t *testing.T, fileContents []byte) { |
| 18 | localFile := filepath.Join(t.TempDir(), "yaml_file.yml") |
| 19 | err := os.WriteFile(localFile, fileContents, 0o600) |
| 20 | assert.NilError(t, err) |
| 21 | _, _ = LoadYAMLByFilePath(t.Context(), localFile) |
| 22 | }) |
| 23 | } |
| 24 | |
| 25 | func FuzzInspect(f *testing.F) { |
| 26 | f.Fuzz(func(t *testing.T, yml, limaVersion []byte) { |
nothing calls this directly
no test coverage detected