Chris Bannister hace 11 años
padre
commit
5acbdd4016
Se han modificado 1 ficheros con 1 adiciones y 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 {