Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
303 B
Go
15 lines
303 B
Go
package redisx
|
|
|
|
import "testing"
|
|
|
|
func TestOpenEmptyAddrSkips(t *testing.T) {
|
|
c, err := Open(nil)
|
|
if err != nil || c.Ready() {
|
|
t.Fatalf("nil options: %v ready=%v", err, c.Ready())
|
|
}
|
|
c, err = Open(&Options{})
|
|
if err != nil || c.Ready() {
|
|
t.Fatalf("empty addr: %v ready=%v", err, c.Ready())
|
|
}
|
|
}
|