mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02: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)
|
||
|
}
|