Skip to content

Avoid noop snapshot updates

Choose a tag to compare

@perrito666 perrito666 released this 05 Oct 13:51
· 10 commits to main since this release
5e3a0b7
  • fix small typo by @Ferada in #4
  • Avoid useless snapshot updates by @perrito666 in #5
    • Do not snapshot if nothing changed in the body, there was a partial implementation but current one does a full cmp test before doing the snapshot (cmp uses the right comparable to be more accurate)
    • Also avoid failing when the file does not exist and we are running a comparison for the first time.
    • Passing by, fixed string comparison for two equal strings.

Full Changelog: v0.0.4...v0.0.5