Make product checks additive
This commit is contained in:
@@ -130,7 +130,7 @@ func TestExampleProfileLoads(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if settings.Product != "Example" || settings.Remote != "origin" || len(settings.Checks) != 1 {
|
||||
if settings.Product != "Example" || settings.Remote != "origin" || len(settings.Checks) != 0 {
|
||||
t.Fatalf("example settings = %#v", settings)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user