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

Revert "test and fix on win7"

This reverts commit 50097e26.

# Conflicts:
#	src/test.go
上级 c82ee606
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
func main() { func main() {
text := ` df text := ` df
FAIL scripts/tc-200.py FAIL scripts\tc-200.py
Step1: FAIL @step2010 第4次尝试登录 Step1: FAIL @step2010 第4次尝试登录
Checkpoint1: FAIL Checkpoint1: FAIL
Expect Result CODE: @step2010期望结果, 可以有多行 Expect Result CODE: @step2010期望结果, 可以有多行
...@@ -20,8 +20,8 @@ func main() { ...@@ -20,8 +20,8 @@ func main() {
dd` dd`
str := "(?m:^\\s" + "FAIL\\sscripts/tc-200.py" + "\\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))" str := "(?m:^\\s" + "FAIL\\sscripts\\\\tc-200.py" + "\\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))"
// myExp := regexp.MustCompile("(?m:^\\s(?:PASS|FAIL) scripts/tc-200.py\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))") // myExp := regexp.MustCompile("(?m:^\\s(?:PASS|FAIL) scripts\\tc-200.py\n([\\s\\S]*?)((^\\s(PASS|FAIL))|\\z))")
myExp := regexp.MustCompile(str) myExp := regexp.MustCompile(str)
arr := myExp.FindStringSubmatch(text) arr := myExp.FindStringSubmatch(text)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册