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 ```json
{ {
"check": "status_code", "check": "status_code", // target field, usually used with jmespath
// target field, usually used with jmespath "assert": "equals", // assertion method, you can use builtin method or custom defined function
"assert": "equals", "expect": 200, // expected value
// assertion method, you can use builtin method or custom defined function "msg": "check response status code" // optional, print this message if assertion failed
"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. The `assert` method name will be mapped to a built-in function with the following function signature.

View File

@@ -78,4 +78,4 @@
] ]
} }
] ]
} }