4 . "github.com/onsi/ginkgo"
5 . "github.com/onsi/gomega"
6 . "github.com/onsi/gomega/matchers"
9 var _ = Describe("BeFalse", func() {
10 It("should handle true and false correctly", func() {
11 Ω(true).ShouldNot(BeFalse())
12 Ω(false).Should(BeFalse())
15 It("should only support booleans", func() {
16 success, err := (&BeFalseMatcher{}).Match("foo")
17 Ω(success).Should(BeFalse())
18 Ω(err).Should(HaveOccurred())