summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage_fixture_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage_fixture_test.go')
-rw-r--r--vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage_fixture_test.go31
1 files changed, 31 insertions, 0 deletions
diff --git a/vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage_fixture_test.go b/vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage_fixture_test.go
new file mode 100644
index 000000000..dfe3e1127
--- /dev/null
+++ b/vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage_fixture_test.go
@@ -0,0 +1,31 @@
+package first_package_test
+
+import (
+ . "github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package"
+ . "github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/external_coverage_fixture"
+
+ . "github.com/onsi/ginkgo"
+ . "github.com/onsi/gomega"
+)
+
+var _ = Describe("CoverageFixture", func() {
+ It("should test A", func() {
+ Ω(A()).Should(Equal("A"))
+ })
+
+ It("should test B", func() {
+ Ω(B()).Should(Equal("B"))
+ })
+
+ It("should test C", func() {
+ Ω(C()).Should(Equal("C"))
+ })
+
+ It("should test D", func() {
+ Ω(D()).Should(Equal("D"))
+ })
+
+ It("should test external package", func() {
+ Ω(Tested()).Should(Equal("tested"))
+ })
+})