mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-17 17:45:03 +02: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)
|
||
|
}
|