mirror of
https://github.com/securego/gosec.git
synced 2025-11-25 22:22:17 +02:00
Restructure to focus on lib rather than cli
This commit is contained in:
@@ -17,7 +17,7 @@ package rules
|
||||
import (
|
||||
"testing"
|
||||
|
||||
gas "github.com/GoASTScanner/gas/core"
|
||||
"github.com/GoASTScanner/gas"
|
||||
)
|
||||
|
||||
func TestRandOk(t *testing.T) {
|
||||
@@ -27,7 +27,7 @@ func TestRandOk(t *testing.T) {
|
||||
|
||||
issues := gasTestRunner(
|
||||
`
|
||||
package main
|
||||
package main
|
||||
|
||||
import "crypto/rand"
|
||||
|
||||
@@ -66,7 +66,7 @@ func TestRandRenamed(t *testing.T) {
|
||||
|
||||
issues := gasTestRunner(
|
||||
`
|
||||
package main
|
||||
package main
|
||||
|
||||
import (
|
||||
"crypto/rand"
|
||||
|
||||
Reference in New Issue
Block a user