Created
July 23, 2024 04:48
-
-
Save stijnmoreels/3d519041c92e57a1e2e7d980e6fb5691 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Arcus.Testing; | |
string expected = "<root><child>100</child></root>"; | |
string actual = "<root><child>101</child></root>"; | |
AssertXml.Equal(expected, actual); | |
// Arcus.Testing.EqualAssertionException | |
// AssertXml.Equal failure: expected and actual XML documents do not match | |
// actual XML has a different value at /root/child/text(), expected 100 while actual 101 | |
// | |
// Expected: | |
// <root> | |
// <child>100</child> | |
// </root> | |
// | |
// Actual: | |
// <root> | |
// <child>101</child> | |
// </root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment