mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-06 00:16:53 +08:00
Extend SugarDB Commands Using Lua Scripts (#155)
* Extend SugarDB by creating new commands using Lua - @kelvinmwinuka
This commit is contained in:
@@ -2672,7 +2672,7 @@ func Test_Generic(t *testing.T) {
|
||||
presetValue: "value3",
|
||||
command: []resp.Value{resp.StringValue("RENAMENX"), resp.StringValue("renamenxOldKey3"), resp.StringValue("renamenxNewKey1")},
|
||||
expectedResponse: "",
|
||||
expectedError: errors.New("Key already exists!"),
|
||||
expectedError: errors.New("key renamenxNewKey1 already exists"),
|
||||
},
|
||||
{
|
||||
name: "4. Command too short",
|
||||
|
Reference in New Issue
Block a user