Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic when using --exclude on reports with documents removed #237

Merged
merged 4 commits into from
Aug 6, 2022

Conversation

HeavyWombat
Copy link
Member

@HeavyWombat HeavyWombat commented Aug 6, 2022

Follow-up from PR #233

Combined commits from PR #233 to fix #232 as well as an internal fix to a inconsistency of the tool defaults, which differed between using dyff as a standalone binary versus using its core logic in a test case.

clamb and others added 4 commits August 6, 2022 22:47
Remove empty line from recent unit tests to fix test issues.
Create single place to define defaults for report option command line flags
to fix inconsistency of the usage of defaults between using `dyff` as a binary
versus using the `dyff` code in a test case.
@codecov
Copy link

codecov bot commented Aug 6, 2022

Codecov Report

Merging #237 (a11a949) into main (0d0acf5) will not change coverage.
The diff coverage is 94.44%.

@@           Coverage Diff           @@
##             main     #237   +/-   ##
=======================================
  Coverage   82.13%   82.13%           
=======================================
  Files          13       13           
  Lines        1304     1304           
=======================================
  Hits         1071     1071           
  Misses        173      173           
  Partials       60       60           
Flag Coverage Δ
unittests 82.13% <94.44%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/dyff/reports.go 80.55% <75.00%> (ø)
internal/cmd/common.go 73.25% <100.00%> (ø)
internal/cmd/root.go 91.42% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@HeavyWombat HeavyWombat changed the title fix/issue 232 Fix panic when using --exclude on reports with documents removed Aug 6, 2022
@HeavyWombat HeavyWombat merged commit 20f4bf7 into main Aug 6, 2022
@HeavyWombat HeavyWombat deleted the fix/issue-232 branch August 6, 2022 21:17
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.

Dyff panics when using --exclude on reports with documents removed
1 participant