mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-01 21:24:23 +08:00
13 lines
222 B
Go
13 lines
222 B
Go
|
package storagetest
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestMemoryStorage(t *testing.T) {
|
||
|
storage := NewInMemoryStorage()
|
||
|
storageTest := &StorageTest{
|
||
|
Storage: storage,
|
||
|
PostTest: storage.Clear,
|
||
|
}
|
||
|
storageTest.Test(t, false)
|
||
|
}
|