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