18 lines
250 B
Go
18 lines
250 B
Go
![]() |
package kubectl
|
||
|
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestKubectl(t *testing.T) {
|
||
|
cmd := KubectlCommand{}
|
||
|
cmd.New()
|
||
|
|
||
|
assert.NotNilf(t, cmd.Exec, "TestKubectl %s", "New")
|
||
|
|
||
|
cmd.Exec("pwd")
|
||
|
}
|