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