diff --git a/content/languages/csharp/index.md b/content/languages/csharp/index.md index b9843da4..5021b7d0 100644 --- a/content/languages/csharp/index.md +++ b/content/languages/csharp/index.md @@ -8,11 +8,12 @@ tags: [csharp] ## Versions -- 10.0 (.Net 6.0) +- 10.0 (.NET 6.0) +- 12.0 (.NET 8.0) ## Test Frameworks -[NUnit](http://www.nunit.org/) +[NUnit](https://nunit.org/) ## Timeout 12 seconds diff --git a/content/languages/csharp/nunit.md b/content/languages/csharp/nunit.md index 1ded9ca8..89e62812 100644 --- a/content/languages/csharp/nunit.md +++ b/content/languages/csharp/nunit.md @@ -32,7 +32,7 @@ public class AddTest [Test, Description("should add two numbers")] public void ShouldAddTwoNumbers() { - Assert.AreEqual(3, Challenge.Add(1, 2)); + Assert.That(3, Is.EqualTo(Challenge.Add(1, 2))); } } ```