String
Last updated
var target = "Homer";
target.ShouldBe("Bart");Exception
target
should be
"Bart"
but was
"Homer"
difference
Expected: "Bart"
Actual: "Homer"A note on alignment. The
▼/▲markers point at the differing grapheme clusters using estimated terminal widths. On terminals or fonts that render emoji, CJK, or other wide characters at different widths than expected, markers may shift by a column. When the difference involves a combining mark, zero-width character, flag emoji, or right-to-left script, aDifference at index N: U+XXXX vs U+YYYYline is appended so the codepoints are unambiguous regardless of how your terminal renders the glyphs.
var target = "Bart";
target.ShouldNotBe("Bart");Exception
Last updated
target
should not be
"Bart"
but was