package
2.4.2+incompatible
Repository: https://github.com/smithx10/prometheus.git
Documentation: pkg.go.dev

# Functions

Assert fails the test if the condition is false.
Equals fails the test if exp is not equal to act.
ErrorEqual compares Go errors for equality.
NewCallbackCloser returns a Closer that calls the provided function upon closing.
NewRoundTripCheckRequest creates a new instance of a type that implements http.RoundTripper, which before returning theResponse and theError, executes checkRequest against a http.Request.
NewStorage returns a new storage for testing purposes that removes all associated files on closing.
NewTemporaryDirectory creates a new temporary directory for transient POSIX activities.
NotOk fails the test if an err is nil.
Ok fails the test if an err is not nil.

# Constants

NilCloser is a no-op Closer.

# Structs

A MockContext provides a simple stub implementation of a Context.

# Interfaces

No description provided by the author
No description provided by the author
This package is imported by non-test code and therefore cannot import the testing package, which has side effects such as adding flags.
No description provided by the author