Skip to content

Commit 4542e06

Browse files
committed
[#2599] Minor tweaks to a bunch of new constraints documented by @wouterj
1 parent 83046d3 commit 4542e06

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

reference/constraints/GreaterThan.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,5 @@ message
9393

9494
**type**: ``string`` **default**: ``This value should be greater than {{ compared_value }}``
9595

96-
This is the message that will be shown if the value is not equal.
96+
This is the message that will be shown if the value is not greather than the
97+
comparison value.

reference/constraints/GreaterThanOrEqual.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GreaterThanOrEqual
2-
===========
2+
==================
33

44
.. versionadded:: 2.3
55
This constraint is new in version 2.3.
@@ -92,4 +92,5 @@ message
9292

9393
**type**: ``string`` **default**: ``This value should be greater than or equal to {{ compared_value }}``
9494

95-
This is the message that will be shown if the value is not equal.
95+
This is the message that will be shown if the value is not greater than or equal
96+
to the comparison value.

reference/constraints/IdenticalTo.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ IdenticalTo
55
This constraint is new in version 2.3.
66

77
Validates that a value is identical to another value, defined in the options.
8-
To force that a value is *not* equal, see
8+
To force that a value is *not* identical, see
99
:doc:`/reference/constraints/NotIdenticalTo`.
1010

1111
.. caution::
@@ -98,4 +98,4 @@ message
9898

9999
**type**: ``string`` **default**: ``This value should be identical to {{ compared_value_type }} {{ compared_value }}``
100100

101-
This is the message that will be shown if the value is not equal.
101+
This is the message that will be shown if the value is not identical.

reference/constraints/LessThan.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,5 @@ message
9393

9494
**type**: ``string`` **default**: ``This value should be less than {{ compared_value }}``
9595

96-
This is the message that will be shown if the value is not equal.
96+
This is the message that will be shown if the value is not less than the
97+
comparison value.

reference/constraints/LessThanOrEqual.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ message
9292

9393
**type**: ``string`` **default**: ``This value should be less than or equal to {{ compared_value }}``
9494

95-
This is the message that will be shown if the value is not equal.
95+
This is the message that will be shown if the value is not less than or equal
96+
to the comparison value.

0 commit comments

Comments
 (0)