github.com/sleungcy-sap/cli@v7.1.0+incompatible/cf/ssh/terminal/helper_test.go (about)

     1  package terminal_test
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/cf/ssh/terminal"
     5  
     6  	. "github.com/onsi/ginkgo"
     7  	. "github.com/onsi/gomega"
     8  )
     9  
    10  var _ = Describe("Helper", func() {
    11  	var helper terminal.TerminalHelper
    12  
    13  	BeforeEach(func() {
    14  		helper = terminal.DefaultHelper()
    15  	})
    16  
    17  	Describe("DefaultTerminalHelper", func() {
    18  		It("returns a terminal helper", func() {
    19  			Expect(helper).NotTo(BeNil())
    20  		})
    21  	})
    22  })