Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
124
func
TestSomeUnwrap(t *testing.T) {
125
require.Equal(t, o.Some(42).Unwrap(), 42)
126
}
127
128
func
TestNoneUnwrap(t *testing.T) {
129
defer
func
() {
Callers
nothing calls this directly
Calls
2
Equal
Method · 0.80
Unwrap
Method · 0.45
Tested by
no test coverage detected