1
0
mirror of https://github.com/securego/gosec.git synced 2025-11-23 22:15:04 +02:00

Fix the call list info to handle selector expressions

Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
Cosmin Cojocar
2020-03-15 15:42:26 +01:00
committed by Cosmin Cojocar
parent cf2590442c
commit 7da9f46445
3 changed files with 26 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ var _ = Describe("Call List", func() {
// Create file to be scanned
pkg := testutils.NewTestPackage()
defer pkg.Close()
pkg.AddFile("main.go", testutils.SampleCodeG104[5].Code[0])
pkg.AddFile("main.go", testutils.SampleCodeG104[6].Code[0])
ctx := pkg.CreateContext("main.go")