MCPcopy Index your code
hub / github.com/celer-pkg/celer / TestDevStore_PackageDirNotExist

Function TestDevStore_PackageDirNotExist

pkgcache/cache_dev_artifact_test.go:149–155  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

147}
148
149func TestDevStore_PackageDirNotExist(t *testing.T) {
150 cache := newTestDevArtifactCache(t)
151 err := cache.Store(filepath.Join(t.TempDir(), "does-not-exist"), "meta")
152 if err == nil {
153 t.Fatal("expected error when packageDir doesn't exist")
154 }
155}
156
157func TestDevStore_InvalidNameVersion(t *testing.T) {
158 cache := newTestDevArtifactCache(t)

Callers

nothing calls this directly

Calls 2

newTestDevArtifactCacheFunction · 0.85
StoreMethod · 0.65

Tested by

no test coverage detected