(t *testing.T)
| 79 | } |
| 80 | |
| 81 | func TestCacheMemoryDirFor_ValidIDs(t *testing.T) { |
| 82 | assert.Equal(t, "/tmp/gh-aw/cache-memory", cacheMemoryDirFor("default")) |
| 83 | assert.Equal(t, "/tmp/gh-aw/cache-memory", cacheMemoryDirFor("")) |
| 84 | assert.Equal(t, "/tmp/gh-aw/cache-memory-session", cacheMemoryDirFor("session")) |
| 85 | assert.Equal(t, "/tmp/gh-aw/cache-memory-my-cache", cacheMemoryDirFor("my-cache")) |
| 86 | } |
| 87 | |
| 88 | func TestCacheMemoryDirFor_InvalidIDPanics(t *testing.T) { |
| 89 | assert.Panics(t, func() { |
nothing calls this directly
no test coverage detected