提交 7444657c 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

package resource

上级 0e538bc2
......@@ -62,7 +62,7 @@ func GetCheckpointsResult(assert string, date string, caseLine string) string {
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)
str := ""
if len(arr) > 1 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册