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:
committed by
Cosmin Cojocar
parent
cf2590442c
commit
7da9f46445
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user