1
0
Fork 0
golang-github-dimonomid-ssh.../fuzz_test.go
Daniel Baumann 9eac69a0e2
Adding upstream version 0.0.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 11:27:20 +02:00

18 lines
270 B
Go

//go:build 1.18
// +build 1.18
package ssh_config
import (
"bytes"
"testing"
)
func FuzzDecode(f *testing.F) {
f.Fuzz(func(t *testing.T, in []byte) {
_, err := Decode(bytes.NewReader(in))
if err != nil {
t.Fatalf("decode %q: %v", string(in), err)
}
})
}