mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-05 16:06:57 +08:00
Iss 100: Implement interfaces and constants for generic API methods (#127)
SETOptions struct added. Adjusted Set method calls for using new struct. - @osteensco
This commit is contained in:
@@ -2662,7 +2662,7 @@ func Test_Generic(t *testing.T) {
|
||||
_, _, _ = mockServer.Set(
|
||||
fmt.Sprintf("key%d", k),
|
||||
fmt.Sprintf("value%d", k),
|
||||
echovault.SetOptions{},
|
||||
echovault.SETOptions{},
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -2768,7 +2768,7 @@ func Test_Generic(t *testing.T) {
|
||||
_, _, err := mockServer.Set(
|
||||
fmt.Sprintf("RandomKey%d", i),
|
||||
fmt.Sprintf("Value%d", i),
|
||||
echovault.SetOptions{},
|
||||
echovault.SETOptions{},
|
||||
)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
Reference in New Issue
Block a user