MCPcopy
hub / github.com/redspread/spread / TestInitProjectRelative

Function TestInitProjectRelative

pkg/project/project_test.go:27–36  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func TestInitProjectRelative(t *testing.T) {
28 target := filepath.Join(testDir, "relativeTest")
29 defer os.RemoveAll(target)
30
31 proj, err := InitProject(target)
32 assert.NoError(t, err)
33 assert.NotNil(t, proj)
34
35 checkProject(t, proj.Path)
36}
37
38func TestInitProjectAbsolute(t *testing.T) {
39 target := filepath.Join(testDir, "absoluteTest")

Callers

nothing calls this directly

Calls 2

InitProjectFunction · 0.85
checkProjectFunction · 0.85

Tested by

no test coverage detected