2017-07-19 22:17:00 +01:00
|
|
|
package gas_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
. "github.com/onsi/ginkgo"
|
2018-01-29 23:32:04 +00:00
|
|
|
. "github.com/onsi/gomega"
|
2017-07-19 22:17:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
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))
|
2017-12-13 06:35:28 +00:00
|
|
|
Skip("Not implemented")
|
2017-07-19 22:17:00 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
It("should correctly track aliased package imports", func() {
|
2017-12-13 06:35:28 +00:00
|
|
|
Skip("Not implemented")
|
2017-07-19 22:17:00 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
It("should correctly track init only packages", func() {
|
2017-12-13 06:35:28 +00:00
|
|
|
Skip("Not implemented")
|
2017-07-19 22:17:00 +01:00
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|