Skip to content

Commit 85f5969

Browse files
Remove equality matcher from v2 spec as it was not added until v3
1 parent f2615f1 commit 85f5969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,12 @@ The following matchers are supported:
209209

210210
| matcher | example configuration | description |
211211
|---------|-----------------------|-------------|
212-
| Equality | `{ "match": "equality" }` | This is the default matcher, and relies on the equals operator |
213212
| Regex | `{ "match": "regex", "regex": "\\d+" }` | This executes a regular expression match against the string representation of a values. |
214213
| Type | `{ "match": "type" }` | This executes a type based match against the values, that is, they are equal if they are the same type. |
215214
| MinType | `{ "match": "type", "min": 2 }` | This executes a type based match against the values, that is, they are equal if they are the same type. In addition, if the values represent a collection, the length of the actual value is compared against the minimum. |
216215
| MaxType | `{ "match": "type", "max": 10 }` | This executes a type based match against the values, that is, they are equal if they are the same type. In addition, if the values represent a collection, the length of the actual value is compared against the maximum. |
217216

217+
If no matcher is specified an equality matcher will be used, which relies on the equals operator.
218218

219219
## Example
220220

0 commit comments

Comments
 (0)