Skip to content

Conversation

@frrist
Copy link
Member

@frrist frrist commented Jun 21, 2021

  • and add tests

@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2021

Codecov Report

Merging #56 (ff5bb27) into master (506754a) will increase coverage by 0.26%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   65.75%   66.02%   +0.26%     
==========================================
  Files           6        6              
  Lines         514      518       +4     
==========================================
+ Hits          338      342       +4     
  Misses         93       93              
  Partials       83       83              
Impacted Files Coverage Δ
diff.go 66.84% <100.00%> (+0.71%) ⬆️

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 506754a...ff5bb27. Read the comment docs.

diff.go Outdated

// edge case of diffing an empty AMT against non-empty
if prevAmt.count == 0 && curAmt.count != 0 {
return addAll(ctx, curCtx, curAmt.node,0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unspaced ,, needs a go fmt

@frrist frrist force-pushed the frrist/fix-empty-diff branch from f2b3529 to ff5bb27 Compare June 22, 2021 18:20
@frrist frrist marked this pull request as ready for review June 22, 2021 18:21
@frrist frrist merged commit 0b588ae into master Jun 22, 2021
@frrist frrist deleted the frrist/fix-empty-diff branch June 22, 2021 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants