Chris Bannister %!s(int64=11) %!d(string=hai) anos
pai
achega
5acbdd4016
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cassandra_test.go

+ 1 - 1
cassandra_test.go

@@ -91,7 +91,7 @@ func TestInvalidKeyspace(t *testing.T) {
 	cluster.Keyspace = "invalidKeyspace"
 	session, err := cluster.CreateSession()
 	if err != nil {
-		if err != ErrNoConnections {
+		if err != ErrNoConnectionsStarted {
 			t.Errorf("Expected ErrNoConnections but got %v", err)
 		}
 	} else {