github.com/onsi/ginkgo@v1.16.6-0.20211118180735-4e1925ba4c95/integration/_fixtures/passing_ginkgo_tests_fixture/passing_ginkgo_tests_test.go (about)

     1  package passing_ginkgo_tests_test
     2  
     3  import (
     4  	. "github.com/onsi/ginkgo"
     5  	. "github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests_fixture"
     6  	. "github.com/onsi/gomega"
     7  )
     8  
     9  var _ = Describe("PassingGinkgoTests", func() {
    10  	It("should proxy strings", func() {
    11  		Ω(StringIdentity("foo")).Should(Equal("foo"))
    12  	})
    13  
    14  	It("should proxy integers", func() {
    15  		Ω(IntegerIdentity(3)).Should(Equal(3))
    16  	})
    17  
    18  	It("should do it again", func() {
    19  		Ω(StringIdentity("foo")).Should(Equal("foo"))
    20  		Ω(IntegerIdentity(3)).Should(Equal(3))
    21  	})
    22  
    23  	It("should be able to run Bys", func() {
    24  		By("emitting one By")
    25  		Ω(3).Should(Equal(3))
    26  
    27  		By("emitting another By")
    28  		Ω(4).Should(Equal(4))
    29  	})
    30  })