Skip to content

Commit

Permalink
Fix compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Nov 11, 2012
1 parent 9e8b988 commit 7cda614
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Readme
======

Redis client for Golang.
Redis client for Golang
=======================

Supports:

Expand Down
2 changes: 1 addition & 1 deletion redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TLSConnector(addr string, tlsConfig *tls.Config) OpenConnFunc {
if err != nil {
return nil, err
}
return tls.Client(conn, tlsConfig)
return tls.Client(conn, tlsConfig), nil
}
}

Expand Down
10 changes: 0 additions & 10 deletions redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2591,16 +2591,6 @@ func (t *RedisTest) TestCmdClientKill(c *C) {
c.Assert(r.Val(), Equals, "")
}

func (t *RedisTest) TestCmdClientList(c *C) {
r := t.client.ClientList()
c.Assert(r.Err(), IsNil)
c.Assert(
r.Val(),
Matches,
"addr=127.0.0.1:[0-9]+ .+\n",
)
}

func (t *RedisTest) TestCmdConfigGet(c *C) {
r := t.client.ConfigGet("*")
c.Assert(r.Err(), IsNil)
Expand Down

0 comments on commit 7cda614

Please sign in to comment.