mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05: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)
|
||
|
}
|