joseph-roitman / pytest-snapshot

A plugin for snapshot testing with pytest.
MIT License
114 stars 12 forks source link

Bugfix/fix string newlines #32

Closed joseph-roitman closed 3 years ago

joseph-roitman commented 3 years ago

Fixes support for string snapshots containing newlines.

Fixes #31 .

codecov[bot] commented 3 years ago

Codecov Report

Merging #32 (7e41ec4) into master (9b85511) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   99.37%   99.38%           
=======================================
  Files           7        7           
  Lines         321      326    +5     
  Branches       35       35           
=======================================
+ Hits          319      324    +5     
  Misses          2        2           
Impacted Files Coverage Δ
pytest_snapshot/plugin.py 100.00% <100.00%> (ø)
tests/test_assert_match.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9b85511...7e41ec4. Read the comment docs.