Enum SnapshotTrailingNewline
- Namespace
- SnapshotAssertions
- Assembly
- SnapshotAssertions.dll
How the trailing newline at end-of-file is treated during snapshot comparison.
public enum SnapshotTrailingNewline
Fields
Forbidden = 2The baseline must NOT end with a trailing newline; mismatches fail the comparison.
Optional = 1A trailing newline on either side is accepted but not required.
Required = 0The baseline must end with a single trailing newline; mismatches fail the comparison. Default.