MCPcopy Create free account
hub / github.com/astercloud/aster / TestCacheDir

Function TestCacheDir

pkg/config/paths_test.go:54–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

52}
53
54func TestCacheDir(t *testing.T) {
55 pathsOnce = sync.Once{}
56
57 dir := CacheDir()
58 if dir == "" {
59 t.Error("CacheDir should not be empty")
60 }
61}
62
63func TestDatabaseFile(t *testing.T) {
64 pathsOnce = sync.Once{}

Callers

nothing calls this directly

Calls 2

CacheDirFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected