fix capturing stdout with termstatus

This commit is contained in:
Michael Eischer
2025-09-14 13:51:30 +02:00
parent 91ecac8003
commit ef9930cce4
9 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import (
)
func testRunKeyListOtherIDs(t testing.TB, gopts GlobalOptions) []string {
buf, err := withCaptureStdout(func() error {
buf, err := withCaptureStdout(gopts, func(gopts GlobalOptions) error {
return runKeyList(context.TODO(), gopts, []string{})
})
rtest.OK(t, err)