kubelogin/version_test.go

12 строки
199 B
Go

package main
import "testing"
func Test_loadVersion(t *testing.T) {
version := loadVersion()
versionString := version.String()
if versionString == "" {
t.Errorf("versionString is empty")
}
}