act_runner/cmd/register_test.go
2022-11-24 15:38:13 +08:00

11 lines
232 B
Go

package cmd
import "testing"
func TestValidateLabels(t *testing.T) {
labels := []string{"ubuntu-latest:docker://node:16-buster"}
if err := validateLabels(labels); err != nil {
t.Errorf("validateLabels() error = %v", err)
}
}