Skip to content

Commit

Permalink
Update NUnitReporterTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed May 11, 2024
1 parent 1f11319 commit cafc3e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ApprovalTests.NUnit3/NUnitReporterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public void TestReporter()
}
catch (AssertionException exception)
{
var expectedMessage = string.Format(" String lengths are both 5. Strings differ at index 0.{0} Expected: \"World\"{0} But was: \"Hello\"{0} -----------^{0}", Environment.NewLine);
var expected = string.Format(" String lengths are both 5. Strings differ at index 0.{0} Expected: \"World\"{0} But was: \"Hello\"{0} -----------^{0}", Environment.NewLine);
Assert.AreEqual(
expectedMessage,
expected,
exception.Message);
}
}
Expand Down

0 comments on commit cafc3e3

Please sign in to comment.