diff --git a/hrp/testcase.go b/hrp/testcase.go index d9a241de..05c2b051 100644 --- a/hrp/testcase.go +++ b/hrp/testcase.go @@ -60,6 +60,9 @@ func (path *TestCasePath) ToTestCase() (*TestCase, error) { if err != nil { return nil, err } + if tc.Config == nil { + return nil, errors.New("incorrect testcase file format, expected config in file") + } err = tc.makeCompat() if err != nil {