MCPcopy
hub / github.com/cli/cli / TestSomeExpect

Function TestSomeExpect

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

Source from the content-addressed store, hash-verified

181}
182
183func TestSomeExpect(t *testing.T) {
184 require.Equal(t, o.Some(42).Expect("oops"), 42)
185}
186
187func TestNoneExpect(t *testing.T) {
188 defer func() {

Callers

nothing calls this directly

Calls 2

EqualMethod · 0.80
ExpectMethod · 0.80

Tested by

no test coverage detected