mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-06 08:27:04 +08:00
Added check for readKeys and writeKeys length before checking for authorization in acl module. Added tests for HELLO and SELECT client-server commands
This commit is contained in:
@@ -565,7 +565,6 @@ func Test_Connection(t *testing.T) {
|
|||||||
|
|
||||||
t.Run("Test_HandleSelect", func(t *testing.T) {
|
t.Run("Test_HandleSelect", func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
database int
|
database int
|
||||||
|
Reference in New Issue
Block a user