@@ -22,9 +22,9 @@ to include the expression passed in for the _actual_ and _constraint_ parameters
2222These are parameters automatically supplied by the compiler.
2323
2424To 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 ) .
2626All 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
2929This analyzer needs to be run when still building against NUnit3 as otherwise your code won't compile.
3030When 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:
111111But when using NUnit4, we get:
112112
113113``` plaintext
114- Message:
114+ Message:
115115 Expected '{0}', but got: '{1}'
116116Assert.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)
134134and the output:
135135
136136``` plaintext
137- Message:
137+ Message:
138138 Expected 'NUnit 3', but got: 'NUnit 4'
139139Assert.That(actual, Is.EqualTo(expected))
140140 String lengths are both 7. Strings differ at index 6.
0 commit comments