Open sandboxFocus

Property CompareWhitespace

CompareWhitespace

Gets or sets a value indicating whether whitespace are taken into account while comparing the the expected output t.cs file with the actual output. The default behavior is false. To enable this option in a test, add this comment to your test file: // @PreserveWhitespace.

Declaration
public bool? CompareWhitespace { get; set; }
Property Value
Type Description
bool?