MCPcopy Create free account
hub / github.com/dotzero/git-profile / TestUnuseProfileResolveArg

Function TestUnuseProfileResolveArg

cmd/unuse_test.go:52–59  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

50}
51
52func TestUnuseProfileResolveArg(t *testing.T) {
53 is := is.New(t)
54
55 profile, err := unuseProfileResolve([]string{"work"}, &vcsMock{})
56
57 is.NoErr(err)
58 is.Equal(profile, "work")
59}
60
61func TestUnuseProfileResolveCurrent(t *testing.T) {
62 is := is.New(t)

Callers

nothing calls this directly

Calls 1

unuseProfileResolveFunction · 0.85

Tested by

no test coverage detected