mirror of https://github.com/hashicorp/consul
17 lines
422 B
Go
17 lines
422 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package resourcetest
|
|
|
|
// T represents the subset of testing.T methods that will be used
|
|
// by the various functionality in this package
|
|
type T interface {
|
|
Helper()
|
|
Log(args ...interface{})
|
|
Logf(format string, args ...interface{})
|
|
Errorf(format string, args ...interface{})
|
|
Fatalf(format string, args ...interface{})
|
|
FailNow()
|
|
Cleanup(func())
|
|
}
|