Skip to content

Commit 37ee849

Browse files
authored
Merge pull request #733 from maettu-this/maettu-this_missing-full-stops-added
Missing full stops added to NUnit2050
2 parents 07d8594 + dfe15f5 commit 37ee849

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

documentation/NUnit2050.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ to include the expression passed in for the _actual_ and _constraint_ parameters
2222
These are parameters automatically supplied by the compiler.
2323

2424
To facilitate this, we needed to drop support for
25-
[composite formatting](https://learn.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting)
25+
[composite formatting](https://learn.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting).
2626
All NUnit4 asserts only allow a single _message_ parameter which can be either a simple string literal
27-
or a [interpolatable string](https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/string-interpolation)
27+
or a [interpolatable string](https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/string-interpolation).
2828

2929
This analyzer needs to be run when still building against NUnit3 as otherwise your code won't compile.
3030
When usages of the new methods with `params` are detected, the associated CodeFix will convert the format specification
@@ -111,7 +111,7 @@ When using NUnit3, this results in:
111111
But when using NUnit4, we get:
112112

113113
```plaintext
114-
Message:
114+
Message:
115115
Expected '{0}', but got: '{1}'
116116
Assert.That(NUnit 3, NUnit 4)
117117
String lengths are both 7. Strings differ at index 6.
@@ -134,7 +134,7 @@ public void TestMessage(string actual, string expected)
134134
and the output:
135135

136136
```plaintext
137-
Message:
137+
Message:
138138
Expected 'NUnit 3', but got: 'NUnit 4'
139139
Assert.That(actual, Is.EqualTo(expected))
140140
String lengths are both 7. Strings differ at index 6.

0 commit comments

Comments
 (0)