MCPcopy Create free account
hub / github.com/cli/cli / recordCommandArgs

Function recordCommandArgs

git/client_test.go:1734–1740  ·  view source on GitHub ↗
(t *testing.T, gotArgs *[]string)

Source from the content-addressed store, hash-verified

1732}
1733
1734func recordCommandArgs(t *testing.T, gotArgs *[]string) CommandModifier {
1735 t.Helper()
1736 return func(cmd *Command) {
1737 *gotArgs = append([]string(nil), cmd.Args...)
1738 cmd.Cmd = createCommand(t, 0, "", "")
1739 }
1740}
1741
1742func TestClientRemoteURLReturnsConfiguredURL(t *testing.T) {
1743 // Given a repository with a configured remote

Calls 2

createCommandFunction · 0.85
HelperMethod · 0.65

Tested by

no test coverage detected