mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 00:17:37 +08:00
fix docs: comparator table
This commit is contained in:
@@ -107,7 +107,7 @@ Comparator
|
|||||||
+---------------------------+---------------------------+-------------------------+--------------------------+
|
+---------------------------+---------------------------+-------------------------+--------------------------+
|
||||||
| ``type_match`` | A is instance of B | isinstance(A, B) | 123 type_match 'int' |
|
| ``type_match`` | A is instance of B | isinstance(A, B) | 123 type_match 'int' |
|
||||||
+---------------------------+---------------------------+-------------------------+--------------------------+
|
+---------------------------+---------------------------+-------------------------+--------------------------+
|
||||||
| ``regex_match`` | regex matches | re.match(B, A) | 'abcdef' regex_match 'a\w+d' |
|
| ``regex_match`` | regex matches | re.match(B, A) | 'abcdef' regex 'a\w+d' |
|
||||||
+---------------------------+---------------------------+-------------------------+--------------------------+
|
+---------------------------+---------------------------+-------------------------+--------------------------+
|
||||||
| ``startswith`` | starts with | A.startswith(B) is True | 'abc' startswith 'ab' |
|
| ``startswith`` | starts with | A.startswith(B) is True | 'abc' startswith 'ab' |
|
||||||
+---------------------------+---------------------------+-------------------------+--------------------------+
|
+---------------------------+---------------------------+-------------------------+--------------------------+
|
||||||
|
|||||||
Reference in New Issue
Block a user