Fixing all the issues with upgrading to golangci-lint 1.21.0

This commit is contained in:
zendril
2019-12-13 00:53:18 -05:00
parent b8cc5dd001
commit 4e22352e9c
14 changed files with 166 additions and 16 deletions
+3
View File
@@ -11,6 +11,7 @@ import (
func TestUsage(t *testing.T) {
oldArgs := os.Args
defer func() { os.Args = oldArgs }()
Convey("Test usage", t, func(c C) {
@@ -28,6 +29,7 @@ func TestUsage(t *testing.T) {
func TestServe(t *testing.T) {
oldArgs := os.Args
defer func() { os.Args = oldArgs }()
Convey("Test serve help", t, func(c C) {
@@ -64,6 +66,7 @@ func TestServe(t *testing.T) {
func TestGC(t *testing.T) {
oldArgs := os.Args
defer func() { os.Args = oldArgs }()
Convey("Test gc", t, func(c C) {