Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BraisGabin
Copy link
Member

@BraisGabin BraisGabin commented Sep 22, 2021

Disable UnsafeCallOnNullableType on tests. The use of !! is a type of assertion. It should not be a problem to use it in your tests.

Fixes #4119
Closes #4118

@codecov
Copy link

codecov bot commented Sep 22, 2021

Codecov Report

Merging #4123 (6579ba9) into main (ad254eb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #4123   +/-   ##
=========================================
  Coverage     83.44%   83.45%           
  Complexity     3186     3186           
=========================================
  Files           461      461           
  Lines          9093     9094    +1     
  Branches       1769     1769           
=========================================
+ Hits           7588     7589    +1     
  Misses          571      571           
  Partials        934      934           
Impacted Files Coverage Δ
...etekt/generator/printer/defaultconfig/Exclusion.kt 96.77% <100.00%> (+0.10%) ⬆️

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 ad254eb...6579ba9. Read the comment docs.

@cortinico cortinico added this to the 1.19.0 milestone Sep 23, 2021
@chao2zhang chao2zhang merged commit 4d3b229 into main Sep 28, 2021
@chao2zhang chao2zhang deleted the fix-4118 branch September 28, 2021 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable UnsafeCallOnNullableType on tests by default

4 participants