File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ import (
4
4
"bytes"
5
5
"errors"
6
6
"fmt"
7
+ "github.com/dicedb/dice/config"
7
8
"log"
8
9
"strconv"
10
+ "strings"
9
11
"syscall"
10
12
"time"
11
- "strings"
12
- "github.com/dicedb/dice/config"
13
13
)
14
14
15
15
var RESP_NIL []byte = []byte ("$-1\r \n " )
@@ -29,7 +29,7 @@ const (
29
29
TTL = "TTL"
30
30
DEL = "DEL"
31
31
EXPIRE = "EXPIRE"
32
- HELLO = "HELLO"
32
+ HELLO = "HELLO"
33
33
BGREWRITEAOF = "BGREWRITEAOF"
34
34
INCR = "INCR"
35
35
INFO = "INFO"
@@ -923,10 +923,10 @@ func evalCOMMAND(args []string) []byte {
923
923
}
924
924
subcommand := strings .ToUpper (args [0 ])
925
925
switch subcommand {
926
- case "COUNT" :
927
- return evalCOMMANDCOUNT ()
928
- default :
929
- return Encode (fmt .Errorf ("ERR unknown subcommand '%s'. Try COMMAND HELP" , subcommand ), false )
926
+ case "COUNT" :
927
+ return evalCOMMANDCOUNT ()
928
+ default :
929
+ return Encode (fmt .Errorf ("ERR unknown subcommand '%s'. Try COMMAND HELP" , subcommand ), false )
930
930
}
931
931
}
932
932
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ package tests
2
2
3
3
import (
4
4
"fmt"
5
+ "gotest.tools/v3/assert"
5
6
"net"
6
7
"testing"
7
- "gotest.tools/v3/assert"
8
8
)
9
9
10
10
func TestCommandCount (t * testing.T ) {
@@ -33,4 +33,4 @@ func BenchmarkCountCommand(b *testing.B) {
33
33
b .Fail ()
34
34
}
35
35
}
36
- }
36
+ }
You can’t perform that action at this time.
0 commit comments