| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
package ssh_config |
| 5 |
|
| 6 |
import ( |
| 7 |
"bytes" |
| 8 |
"testing" |
| 9 |
) |
| 10 |
|
| 11 |
func FuzzDecode(f *testing.F) { |
| 12 |
f.Fuzz(func(t *testing.T, in []byte) { |
| 13 |
_, err := Decode(bytes.NewReader(in)) |
| 14 |
if err != nil { |
| 15 |
t.Fatalf("decode %q: %v", string(in), err) |
| 16 |
} |
| 17 |
}) |
| 18 |
} |