refactor: relocate convert

This commit is contained in:
debugtalk
2022-04-23 23:56:47 +08:00
parent 5073308b03
commit 813284110e
8 changed files with 166 additions and 69 deletions

View File

@@ -240,7 +240,7 @@ func convertCheckExpr(checkExpr string) string {
return strings.Join(checkItems, ".")
}
func loadTestCases(iTestCases ...ITestCase) ([]*TestCase, error) {
func LoadTestCases(iTestCases ...ITestCase) ([]*TestCase, error) {
testCases := make([]*TestCase, 0)
for _, iTestCase := range iTestCases {