Decide on a testing framework (rspec is the one I'm familiar with so that's the default choice), and at least write tests for these complex areas of the code:
[ ] Snaptoken::Diff.parse
[ ] Snaptoken::Diff#to_patch (including helpers find_hunks and hunk_header)
Decide on a testing framework (
rspec
is the one I'm familiar with so that's the default choice), and at least write tests for these complex areas of the code:Snaptoken::Diff.parse
Snaptoken::Diff#to_patch
(including helpersfind_hunks
andhunk_header
)Snaptoken::DiffTransformers::FoldSections
Snaptoken::DiffTransformers::OmitAdjacentRemovals
Snaptoken::DiffTransformers::TrimBlankLines