...

Source file src/github.com/onsi/gomega/internal/testingtsupport/testing_t_support_test.go

Documentation: github.com/onsi/gomega/internal/testingtsupport

     1  package testingtsupport_test
     2  
     3  import (
     4  	. "github.com/onsi/gomega"
     5  
     6  	"testing"
     7  )
     8  
     9  func TestTestingT(t *testing.T) {
    10  	RegisterTestingT(t)
    11  	Ω(true).Should(BeTrue())
    12  }
    13  
    14  func TestNewGomegaWithT(t *testing.T) {
    15  	g := NewWithT(t)
    16  	g.Expect(true).To(BeTrue())
    17  }
    18  

View as plain text