mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-11-14 22:42:47 +01:00
11 lines
232 B
Go
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)
|
|
}
|
|
}
|