ledisdb/client/goledis/ledis_test.go

16 lines
177 B
Go
Raw Normal View History

2014-06-21 18:12:37 +04:00
package ledis
import (
"testing"
)
func TestClient(t *testing.T) {
cfg := new(Config)
cfg.Addr = "127.0.0.1:6380"
cfg.MaxIdleConns = 4
c := NewClient(cfg)
c.Close()
}