fix golint error
This commit is contained in:
parent
baeb4e27d5
commit
d1576b9a70
@ -27,7 +27,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// use a variable to record if the tested function has failed
|
// use a variable to record if the tested function has failed
|
||||||
// so unittest can only be exectued sequential
|
// so unittest can only be executed sequential
|
||||||
var fatal = false
|
var fatal = false
|
||||||
var fatalStr string
|
var fatalStr string
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ package foo
|
|||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
|
//Bar fake method
|
||||||
func Bar() {
|
func Bar() {
|
||||||
fmt.Println("foo bar")
|
fmt.Println("foo bar")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user