Apply all golangci-lint fixes
This commit is contained in:
parent
945b3299ac
commit
75910efbe5
8 changed files with 19 additions and 22 deletions
|
@ -3,10 +3,12 @@ package main
|
|||
import (
|
||||
"flag"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func Test_InnerMain_Version(t *testing.T) {
|
||||
flag.Set("version", "1")
|
||||
assert.NoError(t, flag.Set("version", "1"))
|
||||
InnerMain()
|
||||
flag.Set("version", "0")
|
||||
assert.NoError(t, flag.Set("version", "0"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue