MCPcopy Index your code
hub / github.com/cli/cli / TestSomeUnwrap

Function TestSomeUnwrap

pkg/option/option_test.go:124–126  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

122}
123
124func TestSomeUnwrap(t *testing.T) {
125 require.Equal(t, o.Some(42).Unwrap(), 42)
126}
127
128func TestNoneUnwrap(t *testing.T) {
129 defer func() {

Callers

nothing calls this directly

Calls 2

EqualMethod · 0.80
UnwrapMethod · 0.45

Tested by

no test coverage detected