Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
snapbox::filter - Rust
[go: Go Back, main page]

Module filter

Source
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