Skip to content

Use assert.NilError() instead of assert.Assert()#38605

Merged
yongtang merged 1 commit intomoby:masterfrom
thaJeztah:explicit_nilerror_check
Jan 21, 2019
Merged

Use assert.NilError() instead of assert.Assert()#38605
yongtang merged 1 commit intomoby:masterfrom
thaJeztah:explicit_nilerror_check

Conversation

@thaJeztah
Copy link
Member

Using assert.NilError() is slightly more explicit as to what we're checking for 😅

@thaJeztah
Copy link
Member Author

@vdemeester @yongtang

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

Copy link
Member

@yongtang yongtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Jan 21, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@5ec3138). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #38605   +/-   ##
=========================================
  Coverage          ?    36.6%           
=========================================
  Files             ?      608           
  Lines             ?    45224           
  Branches          ?        0           
=========================================
  Hits              ?    16553           
  Misses            ?    26384           
  Partials          ?     2287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants