aswinkarthik / csvdiff

A fast diff tool for comparing csv files
https://aswinkarthik.github.io/csvdiff/
MIT License
532 stars 57 forks source link

Add support for unescaped quotes #38

Closed kdunn926 closed 4 years ago

kdunn926 commented 4 years ago

Thank you for this very useful tool!

These changes expose the CSV reader lazyQuote parameter, which allows support for unescaped quotes in data.

e.g.

fieldOneValue,column2Data,5" from wall,false
codecov[bot] commented 4 years ago

Codecov Report

Merging #38 into master will increase coverage by 0.1%. The diff coverage is 96.29%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #38     +/-   ##
=========================================
+ Coverage   82.88%   82.98%   +0.1%     
=========================================
  Files          11       11             
  Lines         520      529      +9     
=========================================
+ Hits          431      439      +8     
- Misses         78       79      +1     
  Partials       11       11
Impacted Files Coverage Δ
pkg/digest/config.go 100% <100%> (ø) :arrow_up:
cmd/config.go 95.65% <100%> (+0.15%) :arrow_up:
pkg/digest/digest.go 100% <100%> (ø) :arrow_up:
pkg/digest/engine.go 77.08% <100%> (+0.48%) :arrow_up:
cmd/root.go 23.88% <50%> (+0.8%) :arrow_up: