mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
6943f9e5e4
- Get rid of 'core' and move CLI to cmd/gas directory - Migrate (most) tests to use Ginkgo and testutils framework - GAS now expects package to reside in $GOPATH - GAS now can resolve dependencies for better type checking (if package on GOPATH) - Simplified public API
37 lines
841 B
Go
37 lines
841 B
Go
package gas_test
|
|
|
|
import (
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
var _ = Describe("Issue", func() {
|
|
|
|
Context("when creating a new issue", func() {
|
|
It("should provide a code snippet for the specified ast.Node", func() {
|
|
Expect(1).Should(Equal(2))
|
|
Fail("Not implemented")
|
|
})
|
|
|
|
It("should return an error if specific context is not able to be obtained", func() {
|
|
Fail("Not implemented")
|
|
})
|
|
|
|
It("should provide accurate line and file information", func() {
|
|
Fail("Not implemented")
|
|
})
|
|
|
|
It("should maintain the provided severity score", func() {
|
|
Fail("Not implemented")
|
|
})
|
|
|
|
It("should maintain the provided confidence score", func() {
|
|
Fail("Not implemented")
|
|
})
|
|
|
|
It("should correctly record `unsafe` import as not considered a package", func() {
|
|
Fail("Not implemented")
|
|
})
|
|
})
|
|
|
|
})
|