MCPcopy Create free account
hub / github.com/libgit2/git2go / TestConfigLookups

Function TestConfigLookups

config_test.go:90–109  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

88}
89
90func TestConfigLookups(t *testing.T) {
91 t.Parallel()
92 var (
93 err error
94 c *Config
95 )
96
97 c, err = setupConfig()
98 defer cleanupConfig()
99
100 if err != nil {
101 t.Errorf("Setup error: '%v'. Expected none\n", err)
102 return
103 }
104 defer c.Free()
105
106 for _, test := range tests {
107 test(c, t)
108 }
109}
110
111func TestOpenDefault(t *testing.T) {
112

Callers

nothing calls this directly

Calls 3

setupConfigFunction · 0.85
cleanupConfigFunction · 0.85
FreeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…