mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Remove print line from tests
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
parent
30e93bf865
commit
7aedcc56ab
1 changed files with 0 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
package gosec_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"go/ast"
|
||||
|
||||
. "github.com/onsi/ginkgo"
|
||||
|
@ -117,8 +116,6 @@ func main() {
|
|||
ast.Walk(v, ctx.Root)
|
||||
Expect(target).ShouldNot(BeNil())
|
||||
|
||||
fmt.Printf("target: %v\n", target)
|
||||
|
||||
cfg := gosec.NewConfig()
|
||||
rule, _ := rules.NewBindsToAllNetworkInterfaces("TEST", cfg)
|
||||
issue, err := rule.Match(target, ctx)
|
||||
|
|
Loading…
Reference in a new issue