mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Minor test improvements
This commit is contained in:
@ -4,7 +4,6 @@ import (
|
||||
"net"
|
||||
"os"
|
||||
"os/exec"
|
||||
"sort"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@ -125,11 +124,6 @@ func TestGinkgoSuite(t *testing.T) {
|
||||
RunSpecs(t, "gopkg.in/redis.v2")
|
||||
}
|
||||
|
||||
func sortStrings(slice []string) []string {
|
||||
sort.Strings(slice)
|
||||
return slice
|
||||
}
|
||||
|
||||
func execCmd(name string, args ...string) (*os.Process, error) {
|
||||
cmd := exec.Command(name, args...)
|
||||
if true {
|
||||
|
Reference in New Issue
Block a user