Table of Contents

Enum SnapshotLineEndingMode

Namespace
SnapshotAssertions
Assembly
SnapshotAssertions.dll

How line-ending differences between actual and expected content are handled during snapshot comparison.

public enum SnapshotLineEndingMode

Fields

IgnoreLineEndings = 3

Line endings are removed from both sides entirely; only the line content is compared.

NormalizeToCRLF = 2

Both sides are normalized to CRLF before comparison. Windows-leaning.

NormalizeToLF = 1

Both sides are normalized to LF before comparison. Cross-platform-safe.

Ordinal = 0

No normalization. Bytes are compared as-is.