mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-05 16:06:57 +08:00
Removed Opts from echovault. NewEchoVault now entirely uses the option pattern
This commit is contained in:
@@ -29,12 +29,12 @@ import (
|
||||
var mockServer *echovault.EchoVault
|
||||
|
||||
func init() {
|
||||
mockServer = echovault.NewEchoVault(echovault.Opts{
|
||||
Config: utils.Config{
|
||||
mockServer = echovault.NewEchoVault(
|
||||
echovault.WithConfig(utils.Config{
|
||||
DataDir: "",
|
||||
EvictionPolicy: utils.NoEviction,
|
||||
},
|
||||
})
|
||||
}),
|
||||
)
|
||||
}
|
||||
|
||||
func Test_HandleSetRange(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user