fix: unittest

This commit is contained in:
debugtalk
2022-02-18 21:11:37 +08:00
parent 9560def232
commit d9b5c72930
4 changed files with 72 additions and 73 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ func TestMakeTestCase(t *testing.T) {
if !assert.Equal(t, "status_code", tCase.TestSteps[0].Validators[0].Check) {
t.Fail()
}
if !assert.Equal(t, "headers.Content-Type", tCase.TestSteps[0].Validators[1].Check) {
if !assert.Equal(t, "headers.\"Content-Type\"", tCase.TestSteps[0].Validators[1].Check) {
t.Fail()
}
if !assert.Equal(t, "body.url", tCase.TestSteps[0].Validators[2].Check) {