Library for comparing output to file contents with simple updating, useful for snapshot testing.
# Cargo.toml
[dependencies]
expectorate = "1.2.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compares a string to the contents of a file, updating the file if needed.
Set the environment variable UPDATE_EXPECT=1 only when you intend to update snapshots.
No dependency data recorded yet.