Sha256: f0c74086b01f662d05253ed0631c5c138048492bea786c8812c4dfba54a94db3

Contents?: true

Size: 294 Bytes

Versions: 27

Compression:

Stored size: 294 Bytes

Contents

package flapjack

import "testing"

func TestDialFails(t *testing.T) {
	address := "localhost:55555" // non-existent Redis server
	database := 0
	_, err := Dial(address, database)

	if err == nil {
		t.Error("Dial should fail")
	}
}

// TODO(auxesis): add test for sending and receiving Events

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
flapjack-1.6.0 src/flapjack/transport_test.go
flapjack-1.6.0rc4 src/flapjack/transport_test.go
flapjack-1.6.0rc3 src/flapjack/transport_test.go
flapjack-1.6.0rc2 src/flapjack/transport_test.go
flapjack-1.6.0rc1 src/flapjack/transport_test.go
flapjack-1.5.0 src/flapjack/transport_test.go
flapjack-1.5.0rc1 src/flapjack/transport_test.go
flapjack-1.4.0 src/flapjack/transport_test.go
flapjack-1.4.0rc1 src/flapjack/transport_test.go
flapjack-1.3.0 src/flapjack/transport_test.go
flapjack-1.3.0rc3 src/flapjack/transport_test.go
flapjack-1.3.0rc2 src/flapjack/transport_test.go
flapjack-1.3.0rc1 src/flapjack/transport_test.go
flapjack-1.2.2 src/flapjack/transport_test.go
flapjack-1.2.1 src/flapjack/transport_test.go
flapjack-1.2.1rc3 src/flapjack/transport_test.go
flapjack-1.2.1rc2 src/flapjack/transport_test.go
flapjack-1.2.1rc1 src/flapjack/transport_test.go
flapjack-1.2.0 src/flapjack/transport_test.go
flapjack-1.2.0rc2 src/flapjack/transport_test.go