mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 06:26:30 +00:00
18 lines
306 B
Go
18 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)
|
|
}
|