mirror of
https://github.com/harness/drone.git
synced 2025-05-11 14:40:05 +08:00
19 lines
345 B
Go
19 lines
345 B
Go
package cache
|
|
|
|
import "testing"
|
|
|
|
func TestMemoryCacheNoTSGetSet(t *testing.T) {
|
|
cache := NewMemoryNoTS()
|
|
testCacheGetSet(t, cache)
|
|
}
|
|
|
|
func TestMemoryCacheNoTSDelete(t *testing.T) {
|
|
cache := NewMemoryNoTS()
|
|
testCacheDelete(t, cache)
|
|
}
|
|
|
|
func TestMemoryCacheNoTSNilValue(t *testing.T) {
|
|
cache := NewMemoryNoTS()
|
|
testCacheNilValue(t, cache)
|
|
}
|