sebastianbergmann / diff

Diff implementation
BSD 3-Clause "New" or "Revised" License
7.58k stars 85 forks source link

Do not add additional newline to unified diff when completely empty #99

Closed znbailey closed 4 years ago

znbailey commented 4 years ago

Fixes sebastianbergmann/diff#98

codecov[bot] commented 4 years ago

Codecov Report

Merging #99 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #99   +/-   ##
=========================================
  Coverage     99.11%   99.11%           
- Complexity      211      212    +1     
=========================================
  Files            12       12           
  Lines           563      563           
=========================================
  Hits            558      558           
  Misses            5        5           
Impacted Files Coverage Δ Complexity Δ
src/Output/UnifiedDiffOutputBuilder.php 99.07% <100.00%> (ø) 37.00 <0.00> (+1.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 249d2b1...eadc841. Read the comment docs.