You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package kubectl
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestGet(t *testing.T) {
|
|
Client = TestRunner{
|
|
out: []byte("running the get command"),
|
|
}
|
|
|
|
expects := "running the get command"
|
|
out, _ := Client.Get([]byte{}, "")
|
|
if string(out) != expects {
|
|
t.Errorf("%s != %s", string(out), expects)
|
|
}
|
|
}
|