gosec/import_tracker_test.go

31 lines
579 B
Go
Raw Normal View History

package gas_test
import (
. "github.com/onsi/ginkgo"
2018-01-29 23:32:04 +00:00
. "github.com/onsi/gomega"
)
var _ = Describe("ImportTracker", func() {
var (
source string
)
BeforeEach(func() {
source = `// TODO(gm)`
})
Context("when I have a valid go package", func() {
It("should record all import specs", func() {
2018-01-29 23:32:04 +00:00
Expect(source).To(Equal(source))
Skip("Not implemented")
})
It("should correctly track aliased package imports", func() {
Skip("Not implemented")
})
It("should correctly track init only packages", func() {
Skip("Not implemented")
})
})
})