Skip to content

Commit b477526

Browse files
committed
formatting.
1 parent 965569e commit b477526

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/docs/docs/request-matching.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,17 +2006,17 @@ stubFor(
20062006
</TabItem>
20072007
</Tabs>
20082008

2009-
# Numbers
2009+
## Numbers
20102010

20112011
You can match numbers in their String representation using `equalTo`. For matching based on their numeric value, use `equalToNumber`, `greaterThanNumber`, `greaterThanEqualNumber`, `lessThanNumber` and `lessThanEqualNumber`.
20122012

20132013
The matchers always report inputs that cannot be parsed to a number as not matching. It can be used for matching both strings and numbers.
20142014
<Tabs>
20152015
<TabItem label="Java">
20162016
```java
2017-
stubFor(get(urlPathEqualTo("/things"))
2018-
.withQueryParam("id", greaterThanNumber(1))
2019-
.willReturn(ok()));
2017+
stubFor(get(urlPathEqualTo("/things"))
2018+
.withQueryParam("id", greaterThanNumber(1))
2019+
.willReturn(ok()));
20202020
```
20212021
</TabItem>
20222022
<TabItem label="JSON">

0 commit comments

Comments
 (0)