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

Function double

pkg/option/option_test.go:111–113  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

109}
110
111func double(i int) int {
112 return i * 2
113}
114
115func TestSomeStringer(t *testing.T) {
116 require.Equal(t, fmt.Sprintf("%s", o.Some("foo")), "Some(foo)") //nolint:gosimple

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected