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

Commit ba77461

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

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ci/tcli/tcli.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ func StdoutEmpty() Assertion {
258258
func GetResult(result **CommandResult) Assertion {
259259
return func(t *testing.T, r *CommandResult) {
260260
slog.Helper()
261-
empty(t, "stdout", r.Stdout)
262261
*result = r
263262
}
264263
}
@@ -287,15 +286,6 @@ func StderrMatches(pattern string) Assertion {
287286
}
288287
}
289288

290-
// CombinedMatches asserts that either Stdout or Stderr a substring which matches the given regexp
291-
func CombinedMatches(pattern string) Assertion {
292-
return func(t *testing.T, r *CommandResult) {
293-
slog.Helper()
294-
StdoutMatches(pattern)(t, r)
295-
StderrMatches(pattern)(t, r)
296-
}
297-
}
298-
299289
func matches(t *testing.T, name, pattern string, target []byte) {
300290
slog.Helper()
301291

0 commit comments

Comments
 (0)