Lines Matching refs:errs
146 _, errs := setupTestExpectErrs(t,
180 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
181 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
381 _, errs := setupTestExpectErrs(t,
399 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
400 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
405 _, errs := setupTestExpectErrs(t,
430 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
431 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
458 _, errs := setupTestExpectErrs(t,
493 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
494 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
499 _, errs := setupTestExpectErrs(t,
513 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
514 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
519 _, errs := setupTestExpectErrs(t,
534 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
535 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
540 _, errs := setupTestExpectErrs(t,
559 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
560 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
565 _, errs := setupTestFromFiles(t,
581 if len(errs) != 1 || errs[0].Error() != expectedErrors[0].Error() {
582 t.Errorf("Incorrect errors. Expected:\n%v\n, got:\n%v\n", expectedErrors, errs)
635 func setupTestFromFiles(t *testing.T, bps MockFS) (ctx *TestContext, errs []error) {
655 func setupTestExpectErrs(t *testing.T, bps map[string]string) (ctx *TestContext, errs []error) {
666 ctx, errs := setupTestExpectErrs(t, bps)
667 FailIfErrored(t, errs)