4 . "github.com/onsi/ginkgo"
5 . "github.com/onsi/gomega"
6 . "github.com/onsi/gomega/gstruct"
9 var _ = Describe("Ignore", func() {
10 It("should always succeed", func() {
11 Ω(nil).Should(Ignore())
12 Ω(struct{}{}).Should(Ignore())
14 Ω(false).Should(Ignore())
17 It("should always fail", func() {
18 Ω(nil).ShouldNot(Reject())
19 Ω(struct{}{}).ShouldNot(Reject())
20 Ω(1).ShouldNot(Reject())
21 Ω(true).ShouldNot(Reject())