mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 20:15:54 +00:00
Fix additional test case
This commit is contained in:
parent
ab4867bc76
commit
f9868aa8c8
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ func TestRandOk(t *testing.T) {
|
||||||
|
|
||||||
issues := gasTestRunner(
|
issues := gasTestRunner(
|
||||||
`
|
`
|
||||||
package samples
|
package main
|
||||||
|
|
||||||
import "crypto/rand"
|
import "crypto/rand"
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ func TestRandBad(t *testing.T) {
|
||||||
|
|
||||||
issues := gasTestRunner(
|
issues := gasTestRunner(
|
||||||
`
|
`
|
||||||
package samples
|
package main
|
||||||
|
|
||||||
import "math/rand"
|
import "math/rand"
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ func TestRandRenamed(t *testing.T) {
|
||||||
|
|
||||||
issues := gasTestRunner(
|
issues := gasTestRunner(
|
||||||
`
|
`
|
||||||
package samples
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
|
|
Loading…
Reference in a new issue