From 40e3c84b06470bc96e01bece9a23c9d7de10fcd7 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Mon, 4 Jul 2022 18:47:36 +0800 Subject: [PATCH] fix: ignore if testcase config is not specified --- hrp/testcase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hrp/testcase.go b/hrp/testcase.go index 69120497..a9a55d5f 100644 --- a/hrp/testcase.go +++ b/hrp/testcase.go @@ -61,7 +61,7 @@ func (path *TestCasePath) ToTestCase() (*TestCase, error) { return nil, err } if tc.Config == nil { - return nil, errors.New("incorrect testcase file format, expected config in file") + tc.Config = &TConfig{Name: "testcase name"} } err = tc.MakeCompat()