Table of Contents

Enum SnapshotTrailingWhitespace

Namespace
SnapshotAssertions
Assembly
SnapshotAssertions.dll

How per-line trailing whitespace is treated during snapshot comparison.

public enum SnapshotTrailingWhitespace

Fields

Preserve = 0

Preserve trailing whitespace on every line; whitespace differences fail the match. Default.

TrimTrailingPerLine = 1

Trim trailing whitespace from each line on both sides before comparison.