Skip to content

Commit b4e10ac

Browse files
committed
Fix minor issues with documentation
1 parent 800653d commit b4e10ac

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ MiniMock offers a _minimalistic_ approach to mocking in .NET with a focus on sim
3232

3333
Try it out or continue with [Getting started](guide/getting-started.md) to learn more or read the [Mocking guidelines](guide/mocking-guidelines.md) to get a better understanding of when, why and how to mock and when not to.
3434

35-
For more details on specific aspects you can read about [Construction](guide/construction.md) [Methods](guide/methods.md), [Properties](guide/properties.md), [Events](guide/events.md) or
35+
For more details on specific aspects you can read about [Construction](guide/construction.md), [Methods](guide/methods.md), [Properties](guide/properties.md), [Events](guide/events.md) or
3636
[Indexers](guide/indexers.md).
3737
Or you shift into high gear with [Advanced Features](advanced-features.md), [FaQ](faq.md) or [Troubleshooting](troubleshooting.md).
3838

docs/guide/construction.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ public void MockInitialization()
2525
);
2626
}
2727
```
28-
29-
~~~~

docs/guide/methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public interface IVersionLibrary
1111
}
1212

1313
var versionLibrary = Mock.IVersionLibrary(config => config
14-
.DownloadExists(returns: true) // Returns true for all versions
15-
.DownloadExists(throws: new IndexOutOfRangeException()) // Throws IndexOutOfRangeException for all versions
14+
.DownloadExists(returns: true) // Returns true for all overloads
15+
.DownloadExists(throws: new IndexOutOfRangeException()) // Throws IndexOutOfRangeException for all overloads
1616
.DownloadExists(call: s => s.StartsWith(value: "2.0.0")) // Returns true for version 2.0.0.x base on a string parameter
1717
.DownloadExists(call: v => v is { Major: 2, Minor: 0, Revision: 0 }) // Returns true for version 2.0.0.x based on a version parameter
1818
.DownloadExists(returnValues: [true, true, false]) // Returns true two times, then false

0 commit comments

Comments
 (0)