pingcap / failpoint

An implementation of failpoints for Golang.
Apache License 2.0
817 stars 63 forks source link

test: Add static check && adjust Travis-CI && make ineffassign happy #21

Closed xiekeyi98 closed 5 years ago

xiekeyi98 commented 5 years ago

What problem does this PR solve?

  1. Add static check.
  2. adjust Travis-CI, merge make build and make test .
  3. make ineffassign happy.
  4. tidy Makefile

What is changed and how it works?

It is clear to see, I check the error and add some static check.

Check List

Tests

Side effects


This change is Reviewable

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 5 years ago

Codecov Report

Merging #21 into master will not change coverage. The diff coverage is n/a.

@@             Coverage Diff             @@
##             master        #21   +/-   ##
===========================================
  Coverage   78.5133%   78.5133%           
===========================================
  Files             7          7           
  Lines           861        861           
===========================================
  Hits            676        676           
  Misses          109        109           
  Partials         76         76