Expose native configuration inspection scopes
This commit is contained in:
@@ -47,6 +47,12 @@ func TestNotificationConfigSupportsOnlyNoopMode(t *testing.T) {
|
||||
}
|
||||
return
|
||||
}
|
||||
if err != nil && tt.wantValidate != "" {
|
||||
if !strings.Contains(err.Error(), tt.wantValidate) {
|
||||
t.Fatalf("load validation error = %v, want %q", err, tt.wantValidate)
|
||||
}
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
t.Fatalf("Load() error = %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user