fix starts_with and ends_wih spelling

Change-Id: I1e475e8187f6e793cd9f9029af93a7d80603b26d
This commit is contained in:
buyuxiang
2022-02-14 14:41:15 +08:00
parent 5c03e0d325
commit 5bce59c583
13 changed files with 278 additions and 22 deletions

View File

@@ -42,9 +42,9 @@ Currently, HttpRunner+ has the following built-in assertion functions.
| `contains` | contains | [1, 2] contains 1 | 'abc' contains 'a', [1,2,3] len_lt 4 |
| `contained_by` | contained by | A in B | 'a' contained_by 'abc', 1 contained_by [1,2] |
| `type_match` | A and B are in the same type | type(A) == type(B) | 123 type_match 1 |
| `regex_match` | regex matches | re.match(B, A) | 'abcdef' regex 'a\w+d' |
| `starts_with` | starts with | A.startswith(B) is True | 'abc' startswith 'ab' |
| `ends_with` | ends with | A.endswith(B) is True | 'abc' endswith 'bc' |
| `regex_match` | regex matches | re.match(B, A) | 'abcdef' regex_match 'a\w+d' |
| `starts_with` | starts with | A.starts_with(B) is True | 'abc' starts_with 'ab' |
| `ends_with` | ends with | A.ends_with(B) is True | 'abc' ends_with 'bc' |
## Builtin functions

View File

@@ -2,7 +2,7 @@
## v0.6.1 (2022-02-11)
- fix: assertion function and json number parse rule
- fix: assertion function errors and json number parse rule
## v0.6.0 (2022-02-08)

View File

@@ -33,4 +33,4 @@ Copyright 2021 debugtalk
* [hrp run](hrp_run.md) - run API test
* [hrp startproject](hrp_startproject.md) - create a scaffold project
###### Auto generated by spf13/cobra on 8-Feb-2022
###### Auto generated by spf13/cobra on 14-Feb-2022

View File

@@ -39,4 +39,4 @@ hrp boom [flags]
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
###### Auto generated by spf13/cobra on 8-Feb-2022
###### Auto generated by spf13/cobra on 14-Feb-2022

View File

@@ -23,4 +23,4 @@ hrp har2case $har_path... [flags]
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
###### Auto generated by spf13/cobra on 8-Feb-2022
###### Auto generated by spf13/cobra on 14-Feb-2022

View File

@@ -33,4 +33,4 @@ hrp run $path... [flags]
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
###### Auto generated by spf13/cobra on 8-Feb-2022
###### Auto generated by spf13/cobra on 14-Feb-2022

View File

@@ -16,4 +16,4 @@ hrp startproject $project_name [flags]
* [hrp](hrp.md) - One-stop solution for HTTP(S) testing.
###### Auto generated by spf13/cobra on 8-Feb-2022
###### Auto generated by spf13/cobra on 14-Feb-2022