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

Prevent exception when running unit tests #8936

Merged

Conversation

drewnoakes
Copy link
Member

Proposed changes

  • Prevent exception when running unit tests when the entry assembly is null. This can make debugging smoother.

Test methodology

  • Manual testing.

✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned drewnoakes Mar 6, 2021
@codecov
Copy link

codecov bot commented Mar 6, 2021

Codecov Report

Merging #8936 (bb7fd05) into master (8673ae8) will increase coverage by 0.01%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #8936      +/-   ##
==========================================
+ Coverage   56.05%   56.06%   +0.01%     
==========================================
  Files         925      925              
  Lines       65895    65899       +4     
  Branches    12088    12088              
==========================================
+ Hits        36938    36947       +9     
+ Misses      25945    25939       -6     
- Partials     3012     3013       +1     
Flag Coverage Δ
production 43.31% <50.00%> (+<0.01%) ⬆️
tests 94.82% <ø> (ø)

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

@drewnoakes drewnoakes merged commit a19c697 into gitextensions:master Mar 6, 2021
@drewnoakes drewnoakes deleted the prevent-unit-test-exception branch March 6, 2021 06:25
@ghost ghost added this to the 3.6 milestone Mar 6, 2021
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.

None yet

2 participants