Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ TestDataDir
Function
TestDataDir
pkg/config/paths_test.go:36–43 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
34
}
35
36
func
TestDataDir(t *testing.T) {
37
pathsOnce = sync.Once{}
38
39
dir := DataDir()
40
if
dir ==
""
{
41
t.Error(
"DataDir should not be empty"
)
42
}
43
}
44
45
func
TestLogDir(t *testing.T) {
46
pathsOnce = sync.Once{}
Callers
nothing calls this directly
Calls
2
DataDir
Function · 0.85
Error
Method · 0.65
Tested by
no test coverage detected