MCPcopy Create free account
hub / github.com/compozy/agh / mustExecuteRoot

Function mustExecuteRoot

internal/cli/cli_integration_test.go:4125–4133  ·  view source on GitHub ↗
(t *testing.T, deps commandDeps, args ...string)

Source from the content-addressed store, hash-verified

4123}
4124
4125func mustExecuteRoot(t *testing.T, deps commandDeps, args ...string) string {
4126 t.Helper()
4127
4128 stdout, stderr, err := executeRootCommand(t, deps, args...)
4129 if err != nil {
4130 t.Fatalf("executeRootCommand(%v) error = %v; stderr=%s", args, err, stderr)
4131 }
4132 return stdout
4133}
4134
4135func waitForCondition(t *testing.T, timeout time.Duration, fn func() bool) {
4136 t.Helper()

Calls 1

executeRootCommandFunction · 0.85

Tested by

no test coverage detected