var target = "Homer";target.ShouldBe("Bart");
Exception
targetshould be"Bart"but was"Homer"differenceDifference | | | | | || \|/ \|/ \|/ \|/ \|/Index | 0 1 2 3 4Expected Value | B a r tActual Value | H o m e rExpected Code | 66 97 114 116Actual Code | 72 111 109 101 114
var target = "Bart";target.ShouldNotBe("Bart");
Exception
targetshould not be"Bart"but was