Lines Matching refs:errs
92 func (ctx *TestContext) ParseFileList(rootDir string, filePaths []string) (deps []string, errs []er…
98 func (ctx *TestContext) ParseBlueprintsFiles(rootDir string) (deps []string, errs []error) {
359 func FailIfErrored(t *testing.T, errs []error) {
361 if len(errs) > 0 {
362 for _, err := range errs {
369 func FailIfNoMatchingErrors(t *testing.T, pattern string, errs []error) {
378 for _, err := range errs {
385 t.Errorf("missing the expected error %q (checked %d error(s))", pattern, len(errs))
386 for i, err := range errs {
392 func CheckErrorsAgainstExpectations(t *testing.T, errs []error, expectedErrorPatterns []string) {
396 FailIfErrored(t, errs)
399 FailIfNoMatchingErrors(t, expectedError, errs)
401 if len(errs) > len(expectedErrorPatterns) {
403 len(expectedErrorPatterns), len(errs))
407 for i, err := range errs {