This allows to install katenary with `go install` and to clean up the project folder.
12 lines
216 B
Go
12 lines
216 B
Go
package labelstructs
|
|
|
|
import "testing"
|
|
|
|
func TestConfigMapLabel(t *testing.T) {
|
|
ts := "foo: bar"
|
|
tc, _ := MapEnvFrom(ts)
|
|
if len(tc) != 1 {
|
|
t.Errorf("Expected ConfigMapFile to have 1 item, got %d", len(tc))
|
|
}
|
|
}
|