]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/testing/internal/testdeps/deps.go
testing: add available godoc link
[gostls13.git] / src / testing / internal / testdeps / deps.go
index 01390f51d3eaf8d7afde915256f9e135f2cc78b9..868307550eab60005dbbf915d231aadb46271d4b 100644 (file)
@@ -27,7 +27,7 @@ import (
 )
 
 // TestDeps is an implementation of the testing.testDeps interface,
-// suitable for passing to testing.MainStart.
+// suitable for passing to [testing.MainStart].
 type TestDeps struct{}
 
 var matchPat string
@@ -186,6 +186,10 @@ func (TestDeps) ReadCorpus(dir string, types []reflect.Type) ([]fuzz.CorpusEntry
        return fuzz.ReadCorpus(dir, types)
 }
 
+func (TestDeps) CheckCorpus(vals []any, types []reflect.Type) error {
+       return fuzz.CheckCorpus(vals, types)
+}
+
 func (TestDeps) ResetCoverage() {
        fuzz.ResetCoverage()
 }