Summary
Display the expected and actual string values on separate lines.
If the mismatch parameter is >=0, an additional line is displayed
line containing a caret that points to the mismatch point.
Syntax
public abstract void DisplayStringDifferences(string expected, string actual, int mismatch, bool ignoreCase, bool clipping)
Parameters
Name |
Type |
Description |
expected |
string |
The expected string value |
actual |
string |
The actual string value |
mismatch |
int |
The point at which the strings don't match or -1 |
ignoreCase |
bool |
If true, case is ignored in locating the point where the strings differ |
clipping |
bool |
If true, the strings should be clipped to fit the line |
Return Value