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

fix a issue

上级 11a3a334
......@@ -7,14 +7,14 @@ cid=0
pid=0
[group]
1. step1 >> expect 1
1. step1 >> expect 1
2. step2
3. step3 >> expect 3
[esac]
*/
checkStep1() || print(">> - expect 1\n");
checkStep1() || print(">> - expect 1\n");
checkStep3() || print(">> expect 3\n");
function checkStep1(){}
......
......@@ -113,6 +113,7 @@ func ValidateStepResult(langType string, expectLines []string, actualLines []str
log = actualLines[indx2]
}
expect = strings.TrimSpace(expect)
var pass bool
if expect[:1] == "`" && expect[len(expect) - 1:] == "`" {
expect = expect[1:len(expect) - 1]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册