mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 12:05:52 +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
|
package gosec_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"go/ast"
|
"go/ast"
|
||||||
|
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
|
@ -117,8 +116,6 @@ func main() {
|
||||||
ast.Walk(v, ctx.Root)
|
ast.Walk(v, ctx.Root)
|
||||||
Expect(target).ShouldNot(BeNil())
|
Expect(target).ShouldNot(BeNil())
|
||||||
|
|
||||||
fmt.Printf("target: %v\n", target)
|
|
||||||
|
|
||||||
cfg := gosec.NewConfig()
|
cfg := gosec.NewConfig()
|
||||||
rule, _ := rules.NewBindsToAllNetworkInterfaces("TEST", cfg)
|
rule, _ := rules.NewBindsToAllNetworkInterfaces("TEST", cfg)
|
||||||
issue, err := rule.Match(target, ctx)
|
issue, err := rule.Match(target, ctx)
|
||||||
|
|
Loading…
Reference in a new issue