fix code format

Change-Id: I583aa6344fff967285b024fddef9f45ac8ee2baf
This commit is contained in:
buyuxiang
2022-02-14 16:13:22 +08:00
parent b1fdd4be71
commit 6fbd8f7d9b
2 changed files with 6 additions and 10 deletions

View File

@@ -6,16 +6,12 @@ HttpRunner+ validation should follow the following format. `check`, `assert` and
```json
{
"check": "status_code",
// target field, usually used with jmespath
"assert": "equals",
// assertion method, you can use builtin method or custom defined function
"expect": 200,
// expected value
"msg": "check response status code"
// optional, print this message if assertion failed
"check": "status_code", // target field, usually used with jmespath
"assert": "equals", // assertion method, you can use builtin method or custom defined function
"expect": 200, // expected value
"msg": "check response status code" // optional, print this message if assertion failed
}
```
```g
The `assert` method name will be mapped to a built-in function with the following function signature.