提交 0e538bc2 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

package resource

上级 cd84bbd6
...@@ -62,7 +62,7 @@ func GetCheckpointsResult(assert string, date string, caseLine string) string { ...@@ -62,7 +62,7 @@ func GetCheckpointsResult(assert string, date string, caseLine string) string {
content := utils.ReadFile(resultPath) content := utils.ReadFile(resultPath)
myExp := regexp.MustCompile(`(?m:^\s" + caseLine + "\n([\s\S]*?)((^\s(PASS|FAIL))|\z))`) myExp := regexp.MustCompile("(?m:^\\s" + caseLine + "\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))")
arr := myExp.FindStringSubmatch(content) arr := myExp.FindStringSubmatch(content)
str := "" str := ""
if len(arr) > 1 { if len(arr) > 1 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册