blob: 29e6d929e5e93bb92aa5110799e48b949a32c453 [file] [log] [blame]
// Copyright 2018 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package main
import (
gotesting "testing"
"go.chromium.org/tast/core/testing"
)
func TestTestRegistration(t *gotesting.T) {
// This catches errors (e.g. naming issues) encountered during test registration,
// which is performed by init() functions in test packages that are pulled in by imports in main.go.
for _, err := range testing.RegistrationErrors() {
t.Error("Test registration failed:", err)
}
}