Skip to main content

Module filter

Module filter 

Expand description

Filter actual or expected Data

This can be done for

  • Making snapshots consistent across platforms or conditional compilation
  • Focusing snapshots on the characteristics of the data being tested

Structs§

FilterNewlines
FilterPaths
NormalizeToExpected
Adjust actual based on expected
RedactedValue
Redactions
Replace data with placeholders

Traits§

Filter

Functions§

normalize_lines
Normalize line endings
normalize_paths
Normalize path separators