github.com/secure-build/gitlab-runner@v12.5.0+incompatible/executors/custom/terminal_test.go (about) 1 // +build !windows 2 3 package custom 4 5 import ( 6 "testing" 7 8 "github.com/stretchr/testify/assert" 9 ) 10 11 func TestExecutor_Connect(t *testing.T) { 12 e := new(executor) 13 connection, err := e.Connect() 14 15 assert.Nil(t, connection) 16 assert.EqualError(t, err, "not yet supported") 17 }