mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Wiki Typo #223
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Solaflex on GitHub (Oct 30, 2019).
Hi,
Small issue in your Wiki doku regarding JsonMatcher, C# option 2:
https://github.com/WireMock-Net/WireMock.Net/wiki/Request-Matching#c-option-2
There is a
newmissing in the constructor call. Correctly it should be:@StefH commented on GitHub (Oct 30, 2019):
The start is a public static method, which will create a new instance. No need for new.
@Solaflex commented on GitHub (Oct 30, 2019):
The typo is in the
.WithBodycall:Your wiki:
.WithBody(new JsonMatcher({ x = 42, s = "s" }))Above line throws a syntax error. It should be:
.WithBody(new JsonMatcher(new { x = 42, s = "s" }))@StefH commented on GitHub (Oct 30, 2019):
yes, thanks a lot. Wiki has been updated.