Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 399c184

Browse files
committed
fixup! Simplify assertion type
1 parent 3f11516 commit 399c184

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ci/tcli/tcli.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,6 @@ func (a Assertable) Assert(t *testing.T, option ...Assertion) {
216216
// Pass custom Assertion functions to cover special cases.
217217
type Assertion func(t *testing.T, r *CommandResult)
218218

219-
// Named is an optional extension of Assertion that provides a helpful label
220-
// to *testing.T
221-
type Named interface {
222-
Name() string
223-
}
224-
225219
// CommandResult contains the aggregated result of a command execution
226220
type CommandResult struct {
227221
Stdout, Stderr []byte

0 commit comments

Comments
 (0)