We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a4ef14 + ce5fc96 commit fab5889Copy full SHA for fab5889
README.md
@@ -157,7 +157,7 @@ formatterMock.FormatMock.When("Hi %s!", "there").Then("Hi there!")
157
alternatively you can use the one-liner:
158
159
```go
160
-formatterMock = NewFormatterMock(mc).When("Hello %s!", "world").Then("Hello world!").When("Hi %s!", "there").Then("Hi there!")
+formatterMock = NewFormatterMock(mc).FormatMock.When("Hello %s!", "world").Then("Hello world!").FormatMock.When("Hi %s!", "there").Then("Hi there!")
161
```
162
163
### Setting up a mock using the Set method:
0 commit comments